Changeset 63665
- Timestamp:
- 09/17/2026 05:34:13 PM (2 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/formatting.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r63540 r63665 561 561 562 562 // If a <blockquote> is wrapped with a <p>, move it inside the <blockquote>. 563 $text = preg_replace( ' |<p><blockquote([^>]*)>|i', '<blockquote$1><p>', $text );563 $text = preg_replace( '!<p><blockquote((?:[^>"\']|"[^"]*"|\'[^\']*\')*)>!i', '<blockquote$1><p>', $text ); 564 564 $text = str_replace( '</blockquote></p>', '</p></blockquote>', $text ); 565 565
Note:
See TracChangeset
for help on using the changeset viewer.