[wp-trac] [WordPress Trac] #19671: Only retrieve categories list if post type supports categories
WordPress Trac
wp-trac at lists.automattic.com
Fri Apr 27 19:23:59 UTC 2012
#19671: Only retrieve categories list if post type supports categories
------------------------------+---------------------
Reporter: niallkennedy | Owner: nacin
Type: enhancement | Status: closed
Priority: normal | Milestone: 3.4
Component: Performance | Version: 3.3
Severity: minor | Resolution: fixed
Keywords: has-patch commit |
------------------------------+---------------------
Changes (by nacin):
* owner: => nacin
* status: new => closed
* resolution: => fixed
Comment:
In [20622]:
{{{
#!CommitTicketReference repository="" revision="20622"
Don't call get_the_category() in get_the_category_list() unless the post
type supports categories. props niallkennedy. fixes #19671.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19671#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list