[wp-trac] [WordPress Trac] #12418: incorrect slashing/unslashing in custom field editor

WordPress Trac wp-trac at lists.automattic.com
Sat Feb 27 22:49:26 UTC 2010


#12418: incorrect slashing/unslashing in custom field editor
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:       
     Type:  defect (bug)       |      Status:  new  
 Priority:  normal             |   Milestone:  2.9.3
Component:  Administration     |     Version:  2.9.2
 Severity:  normal             |    Keywords:       
-------------------------------+--------------------------------------------

Comment(by Denis-de-Bernardy):

 the key is also double-escaped, a bit further down:

 {{{
         foreach ( $keys as $key ) {
                 $key = esc_attr( $key );
                 echo "\n<option value='" . esc_attr($key) .
 "'>$key</option>";
         }

 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12418#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list