WordPress.org

Make WordPress Core

Ticket #22692: miqro-22692.patch

File miqro-22692.patch, 787 bytes (added by miqrogroove, 8 years ago)
  • wp-includes/formatting.php

     
    8787                if ( "'" != $apos )
    8888                        $dynamic[ '/(\S)\'([^\'\s])/'          ] = '$1' . $apos . '$2'; // apostrophe in a word
    8989                if ( '"' != $opening_quote )
    90                         $dynamic[ '/(\s|\A|[([{<])"(?!\s)/'    ] = '$1' . $opening_quote . '$2'; // opening double quote, even after (, {, <, [
     90                        $dynamic[ '/(\s|\A|[([{<])"(?!\s)/u'   ] = '$1' . $opening_quote . '$2'; // opening double quote, even after (, {, <, [
    9191                if ( '"' != $closing_quote )
    9292                        $dynamic[ '/"(\s|\S|\Z)/'              ] = $closing_quote . '$1'; // closing double quote
    9393                if ( "'" != $closing_single_quote )