Ticket #29813: miqro-29813.patch
File miqro-29813.patch, 1.7 KB (added by , 11 years ago) |
---|
-
src/wp-includes/formatting.php
86 86 87 87 // if a plugin has provided an autocorrect array, use it 88 88 if ( isset($wp_cockneyreplace) ) { 89 $cockney = array_keys( $wp_cockneyreplace);90 $cockneyreplace = array_values( $wp_cockneyreplace);89 $cockney = array_keys( $wp_cockneyreplace ); 90 $cockneyreplace = array_values( $wp_cockneyreplace ); 91 91 } elseif ( "'" != $apos ) { // Only bother if we're doing a replacement. 92 $cockney = array( "'tain't", "'twere", "'twas", "'tis", "'twill", "'til", "'bout", "'nuff", "'round", "'cause" );93 $cockneyreplace = array( $apos . "tain" . $apos . "t", $apos . "twere", $apos . "twas", $apos . "tis", $apos . "twill", $apos . "til", $apos . "bout", $apos . "nuff", $apos . "round", $apos . "cause" );92 $cockney = array( "'tain't", "'twere", "'twas", "'tis", "'twill", "'til", "'bout", "'nuff", "'round", "'cause", "'em" ); 93 $cockneyreplace = array( $apos . "tain" . $apos . "t", $apos . "twere", $apos . "twas", $apos . "tis", $apos . "twill", $apos . "til", $apos . "bout", $apos . "nuff", $apos . "round", $apos . "cause", $apos . "em" ); 94 94 } else { 95 95 $cockney = $cockneyreplace = array(); 96 96 } -
tests/phpunit/tests/formatting/WPTexturize.php
946 946 ), 947 947 array( 948 948 "word 'em word", 949 "word ̵ 6;em word",949 "word ’em word", 950 950 ), 951 951 ); 952 952 }