[wp-trac] [WordPress Trac] #17674: Formatting Bug on Importer Memory Limit Error Message
WordPress Trac
wp-trac at lists.automattic.com
Sun Jun 5 11:56:15 UTC 2011
#17674: Formatting Bug on Importer Memory Limit Error Message
------------------------------+-----------------------
Reporter: JohnONolan | Owner: duck_
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 3.2
Component: Import | Version: 3.1.4
Severity: minor | Resolution:
Keywords: has-patch commit |
------------------------------+-----------------------
Comment (by westi):
I think stripping the HTML here makes the messages less useful so I did a
quick audit of how core treats these messages:
* wp-admin/media-new.php - redirects on any error to wp-
admin/upload.php?message=3 and shows a poor generic message - "Error
saving media attachment."
* wp-admin/post-new.php - Media upload HTML - displays the HTML message
(in red!)
* wp-admin/post-new.php - Media upload Flash - displays the HTML message
with the tags in it :(
So it seems at the moment we have inconsistent behaviour in core.
It seems like stripping out the HTML from these messages is the most
compatible solution for 3.2
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17674#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list