[wp-trac] [WordPress Trac] #16243: Unhelpful error messages when updating default category

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 15 18:44:36 UTC 2011

#16243: Unhelpful error messages when updating default category
 Reporter:  iamfriendly     |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  3.0.4
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |

Comment (by iamfriendly):

 I've added a horrible hack which adds some extra error reporting to the
 output when an error is thrown. This basically checks for the existence of
 certain items in the $ret object. There must be a better way to handle
 this, though, as it's basically hardcoded in. Possibly use WP_Error() in
 the future? That's beyond my abilities at the moment, but at least this
 way there's the same feedback given from quick edit and full edit.

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

More information about the wp-trac mailing list