mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
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:
@@ -1452,9 +1452,9 @@ function wp_kses_hair_parse( $attr ) {
|
||||
// phpcs:disable Squiz.Strings.ConcatenationSpacing.PaddingFound -- don't remove regex indentation
|
||||
$regex =
|
||||
'(?:'
|
||||
. '[_a-zA-Z][-_a-zA-Z0-9:.]*' // Attribute name.
|
||||
. '[_a-zA-Z][-_a-zA-Z0-9:.]*' // Attribute name.
|
||||
. '|'
|
||||
. '\[\[?[^\[\]]+\]\]?' // Shortcode in the name position implies unfiltered_html.
|
||||
. '\[\[?[^\[\]]+\]\]?' // Shortcode in the name position implies unfiltered_html.
|
||||
. ')'
|
||||
. '(?:' // Attribute value.
|
||||
. '\s*=\s*' // All values begin with '='.
|
||||
|
||||
Reference in New Issue
Block a user