Changeset 45837
- Timestamp:
- 08/19/2019 04:23:27 AM (5 years ago)
- Location:
- branches/5.2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.2
-
branches/5.2/src/wp-includes/formatting.php
r45349 r45837 3229 3229 3230 3230 // If we're in an ignore block, wait until we find its closing tag 3231 if ( '' == $ignore_block_element && preg_match( '/^<(' . $tags_to_ignore . ') >/', $content, $matches ) ) {3231 if ( '' == $ignore_block_element && preg_match( '/^<(' . $tags_to_ignore . ')[^>]*>/', $content, $matches ) ) { 3232 3232 $ignore_block_element = $matches[1]; 3233 3233 } -
branches/5.2/tests/phpunit/tests/formatting/Smilies.php
r42343 r45837 147 147 $includes_path = includes_url( 'images/smilies/' ); 148 148 149 $in_str = 'Do we ingore smilies ;-) in ' . $element . ' tags <' . $element . ' >My Content Here :?: </' . $element . '>';150 $exp_str = "Do we ingore smilies \xf0\x9f\x98\x89 in $element tags <$element >My Content Here :?: </$element>";149 $in_str = 'Do we ingore smilies ;-) in ' . $element . ' tags <' . $element . ' class="foo">My Content Here :?: </' . $element . '>'; 150 $exp_str = "Do we ingore smilies \xf0\x9f\x98\x89 in $element tags <$element class=\"foo\">My Content Here :?: </$element>"; 151 151 152 152 // standard smilies, use_smilies: ON
Note: See TracChangeset
for help on using the changeset viewer.