[wp-trac] [WordPress Trac] #21201: get_cat_ID(): category "General" does not exist anymore by default

WordPress Trac noreply at wordpress.org
Thu Oct 18 01:41:47 UTC 2012


#21201: get_cat_ID(): category "General" does not exist anymore by default
--------------------------+---------------------
 Reporter:  Latz          |       Owner:  nacin
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.5
Component:  Taxonomy      |     Version:  3.4.1
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by nacin):

 * keywords:  punt has-patch => has-patch


Comment:

 If we get more than a report or two of E_WARNINGs for improper uses of
 this function (probably a theme using the wrong function), we can convert
 that to defaulting to null, and then bail if null, to sidestep the
 warning.

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


More information about the wp-trac mailing list