[wp-trac] [WordPress Trac] #16816: Wrongly formatted error message in Tools > Import

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 10 17:37:42 UTC 2011


#16816: Wrongly formatted error message in Tools > Import
-------------------------------+----------------------------
 Reporter:  djpeanut           |       Owner:  duck_
     Type:  defect (bug)       |      Status:  reviewing
 Priority:  normal             |   Milestone:  WordPress.org
Component:  Import             |     Version:  3.1
 Severity:  trivial            |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+----------------------------

Comment (by duck_):

 WP_Import::handle_upload():

 {{{
 echo esc_html( $file['error'] )
 }}}

 Would have to double check that any error message is always generated
 internally by WordPress before removing the escaping.

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


More information about the wp-trac mailing list