[wp-trac] [WordPress Trac] #17674: Formatting Bug on Importer Memory Limit Error Message

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 3 21:35:48 UTC 2011


#17674: Formatting Bug on Importer Memory Limit Error Message
------------------------------+----------------------------
 Reporter:  JohnONolan        |       Owner:  duck_
     Type:  defect (bug)      |      Status:  assigned
 Priority:  normal            |   Milestone:  WordPress.org
Component:  Import            |     Version:  3.1.4
 Severity:  minor             |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+----------------------------

Comment (by duck_):

 The patch John has attached is modifying WordPress core to remove the HTML
 tags rather than patching the importer. So should be 3.2 or Future
 Release.

 > esc_html() is probably good to keep depending on some variable error
 messages.

 This is the problem I had with #16816 which fell into obscurity. Will
 close that since this has a proposed patch.

 These errors are shown unescaped only in the inline uploaders in the
 editor -- see media_upload_form(), wp-admin/includes/media.php line 1465
 -- and seem to be shown escaped in wp-admin/async-upload.php though I do
 not know where or if the user will ever see the latter.

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


More information about the wp-trac mailing list