[wp-trac] [WordPress Trac] #4804: Incorrect variable name used in cockney replace code.

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 23 14:21:17 GMT 2007


#4804: Incorrect variable name used in cockney replace code.
---------------------+------------------------------------------------------
 Reporter:  westi    |       Owner:  westi      
     Type:  defect   |      Status:  new        
 Priority:  normal   |   Milestone:  2.3 (trunk)
Component:  General  |     Version:  2.3        
 Severity:  normal   |    Keywords:             
---------------------+------------------------------------------------------
 {{{
         // if a plugin has provided an autocorrect array, use it
         if ( isset($wp_cockneyreplace) ) {
                 $cockney = array_keys($wp_cockneyreplace);
                 $cockney_replace = array_values($wp_cockneyreplace);
         } else {
                 $cockney =
 array("'tain't","'twere","'twas","'tis","'twill","'til","'bout","'nuff","'round","'cause");
                 $cockneyreplace =
 array("’tain’t","’twere","’twas","’tis","’twill","’til","’bout","’nuff","’round","’cause");
 }}}

 $cockney_replace and $cockneyreplace!!

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4804>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list