Ticket #51313: formatting.diff
File formatting.diff, 522 bytes (added by , 4 years ago) |
---|
-
wp-includes/formatting.php
5243 5243 global $_links_add_target; 5244 5244 $_links_add_target = $target; 5245 5245 $tags = implode( '|', (array) $tags ); 5246 return preg_replace_callback( "!<($tags)( [^>]*)>!i", '_links_add_target', $content );5246 return preg_replace_callback( "!<($tags)(\s[^>]*)?>!i", '_links_add_target', $content ); 5247 5247 } 5248 5248 5249 5249 /**