Changeset 31249
- Timestamp:
- 01/20/2015 06:43:30 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r31199 r31249 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(); -
trunk/tests/phpunit/tests/formatting/WPTexturize.php
r31199 r31249 961 961 array( 962 962 "word 'em word", 963 "word ̵ 6;em word",963 "word ’em word", 964 964 ), 965 965 );
Note: See TracChangeset
for help on using the changeset viewer.