Docs: Use sentence case for comments in tests/kses.php
, per the documentation standards.
Follow-up to [48132]. See #49464, #49572. git-svn-id: https://develop.svn.wordpress.org/trunk@48139 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
559d7c7b50
commit
0a301ec4b5
@ -629,22 +629,22 @@ EOF;
|
|||||||
"array[1]='z'z'z'z",
|
"array[1]='z'z'z'z",
|
||||||
false,
|
false,
|
||||||
),
|
),
|
||||||
// using digit in attribute name should work
|
// Using a digit in attribute name should work.
|
||||||
array(
|
array(
|
||||||
'href="https://example.com/[shortcode attr=\'value\']" data-op3-timer-seconds="0"',
|
'href="https://example.com/[shortcode attr=\'value\']" data-op3-timer-seconds="0"',
|
||||||
array( 'href="https://example.com/[shortcode attr=\'value\']" ', 'data-op3-timer-seconds="0"' ),
|
array( 'href="https://example.com/[shortcode attr=\'value\']" ', 'data-op3-timer-seconds="0"' ),
|
||||||
),
|
),
|
||||||
// using underscore in attribute name should work
|
// Using an underscore in attribute name should work.
|
||||||
array(
|
array(
|
||||||
'href="https://example.com/[shortcode attr=\'value\']" data-op_timer-seconds="0"',
|
'href="https://example.com/[shortcode attr=\'value\']" data-op_timer-seconds="0"',
|
||||||
array( 'href="https://example.com/[shortcode attr=\'value\']" ', 'data-op_timer-seconds="0"' ),
|
array( 'href="https://example.com/[shortcode attr=\'value\']" ', 'data-op_timer-seconds="0"' ),
|
||||||
),
|
),
|
||||||
// using period in attribute name should work
|
// Using a period in attribute name should work.
|
||||||
array(
|
array(
|
||||||
'href="https://example.com/[shortcode attr=\'value\']" data-op.timer-seconds="0"',
|
'href="https://example.com/[shortcode attr=\'value\']" data-op.timer-seconds="0"',
|
||||||
array( 'href="https://example.com/[shortcode attr=\'value\']" ', 'data-op.timer-seconds="0"' ),
|
array( 'href="https://example.com/[shortcode attr=\'value\']" ', 'data-op.timer-seconds="0"' ),
|
||||||
),
|
),
|
||||||
// using digit at a beginning of attribute name should return false
|
// Using a digit at the beginning of attribute name should return false.
|
||||||
array(
|
array(
|
||||||
'href="https://example.com/[shortcode attr=\'value\']" 3data-op-timer-seconds="0"',
|
'href="https://example.com/[shortcode attr=\'value\']" 3data-op-timer-seconds="0"',
|
||||||
false,
|
false,
|
||||||
|
Loading…
Reference in New Issue
Block a user