Changeset 49193 for trunk/src/wp-includes/formatting.php
- Timestamp:
- 10/18/2020 05:25:10 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r49188 r49193 723 723 */ 724 724 function _get_wptexturize_shortcode_regex( $tagnames ) { 725 $tagregexp = join( '|', array_map( 'preg_quote', $tagnames ) );725 $tagregexp = implode( '|', array_map( 'preg_quote', $tagnames ) ); 726 726 $tagregexp = "(?:$tagregexp)(?=[\\s\\]\\/])"; // Excerpt of get_shortcode_regex(). 727 727 // phpcs:disable Squiz.Strings.ConcatenationSpacing.PaddingFound -- don't remove regex indentation … … 825 825 } 826 826 827 $tagregexp = join( '|', array_map( 'preg_quote', array_keys( $shortcode_tags ) ) );827 $tagregexp = implode( '|', array_map( 'preg_quote', array_keys( $shortcode_tags ) ) ); 828 828 $spaces = wp_spaces_regexp(); 829 829 … … 3233 3233 3234 3234 $atts['rel']['whole'] = 'rel="' . esc_attr( $rel ) . '"'; 3235 $link_html = join( ' ', array_column( $atts, 'whole' ) );3235 $link_html = implode( ' ', array_column( $atts, 'whole' ) ); 3236 3236 3237 3237 if ( $is_escaped ) { … … 3697 3697 3698 3698 // Join valid subs into the new domain. 3699 $domain = join( '.', $new_subs );3699 $domain = implode( '.', $new_subs ); 3700 3700 3701 3701 // Put the email back together.
Note: See TracChangeset
for help on using the changeset viewer.