[wp-trac] [WordPress Trac] #21155: Prevent warnings in get_the_category from unregistered "category" taxonomy

WordPress Trac noreply at wordpress.org
Tue Nov 6 23:47:16 UTC 2012


#21155: Prevent warnings in get_the_category from unregistered "category" taxonomy
--------------------------+---------------------
 Reporter:  batmoo        |       Owner:  nacin
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.5
Component:  General       |     Version:  3.4
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by nacin):

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"22412"]:
 {{{
 #!CommitTicketReference repository="" revision="22412"
 Check for WP_Error in get_the_category(). props batmoo. fixes #21155.
 }}}

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


More information about the wp-trac mailing list