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

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 15 17:48:04 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:  ux-feedback     |
----------------------------+------------------------------

Comment (by iamfriendly):

 As an addition, the quick edit notice is:

 "The slug [slug-here] is already in use by another term"

 Which is much more useful.

 This appears to be from Line 1680 of wp-includes/taxonomy.php

 After looking further through edit-tags.php it appears that if there is
 absolutely any error at all then it simply punts the same message 'Item
 not updated'. This can be seen on line 143-146 which basically says if
 there's no error say 'Item updated' but if there is, say 'Item not
 updated'

 From what I can tell there's no checking what the actual error is.

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


More information about the wp-trac mailing list