Make WordPress Core


Ignore:
Timestamp:
06/23/2020 11:09:04 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Use sentence case for comments in tests/kses.php, per the documentation standards.

Follow-up to [48132].

See #49464, #49572.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/kses.php

    r48132 r48139  
    14531453    $regex =
    14541454        '(?:'
    1455         .     '[_a-zA-Z][-_a-zA-Z0-9:.]*'   // Attribute name.
     1455        .     '[_a-zA-Z][-_a-zA-Z0-9:.]*' // Attribute name.
    14561456        . '|'
    1457         .     '\[\[?[^\[\]]+\]\]?' // Shortcode in the name position implies unfiltered_html.
     1457        .     '\[\[?[^\[\]]+\]\]?'        // Shortcode in the name position implies unfiltered_html.
    14581458        . ')'
    14591459        . '(?:'               // Attribute value.
Note: See TracChangeset for help on using the changeset viewer.