[wp-trac] [WordPress Trac] #17939: Adding an existing category via the category meta box on the post edit screen fails

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 30 18:19:29 UTC 2012


#17939: Adding an existing category via the category meta box on the post edit
screen fails
--------------------------+---------------------
 Reporter:  mdawaffe      |       Owner:  westi
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.4
Component:  General       |     Version:  3.2
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by ryan):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [19792]:
 {{{
 #!CommitTicketReference repository="" revision="19792"
 Check the return of wp_insert_term() for WP_Error or array. Prevents fatal
 erros and failure to add categories when adding terms via ajax. Props
 mdawaffe. fixes #17938 #17939
 }}}

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


More information about the wp-trac mailing list