Changeset 56559 for trunk/src/wp-includes/formatting.php
- Timestamp:
- 09/12/2023 03:21:02 PM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r56549 r56559 3260 3260 $text = preg_replace_callback( 3261 3261 '|<a (.+?)>|i', 3262 static function ( $matches ) {3262 static function ( $matches ) { 3263 3263 return wp_rel_callback( $matches, 'nofollow' ); 3264 3264 }, … … 3294 3294 $text = preg_replace_callback( 3295 3295 '|<a (.+?)>|i', 3296 static function ( $matches ) {3296 static function ( $matches ) { 3297 3297 return wp_rel_callback( $matches, 'nofollow ugc' ); 3298 3298 }, … … 4757 4757 $safe_text = (string) preg_replace_callback( 4758 4758 $regex, 4759 static function ( $matches ) {4759 static function ( $matches ) { 4760 4760 if ( ! isset( $matches[0] ) ) { 4761 4761 return '';
Note: See TracChangeset
for help on using the changeset viewer.