WordPress.org

Make WordPress Core

Ticket #26850: 26850.diff

File 26850.diff, 600 bytes (added by yurivictor, 8 years ago)
  • formatting.php

     
    7676                $dynamic = array();
    7777                if ( "'" != $apos ) {
    7878                        $dynamic[ '/\'(\d\d(?:’|\')?s)/' ] = $apos . '$1'; // '99's
    79                         $dynamic[ '/\'(\d)/'                   ] = $apos . '$1'; // '99
     79                        $dynamic[ '/\'(\d\d)/'                 ] = $apos . '$1'; // '99
    8080                }
    8181                if ( "'" != $opening_single_quote )
    8282                        $dynamic[ '/(\s|\A|[([{<]|")\'/'       ] = '$1' . $opening_single_quote; // opening single quote, even after (, {, <, [