[wp-trac] [WordPress Trac] #37114: Allow short-circuiting `get_post_class` for performance
WordPress Trac
noreply at wordpress.org
Tue Sep 6 17:18:21 UTC 2016
#37114: Allow short-circuiting `get_post_class` for performance
-------------------------------+------------------------------------
Reporter: bordoni | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 4.6
Severity: normal | Resolution:
Keywords: has-patch | Focuses: template, performance
-------------------------------+------------------------------------
Comment (by desrosj):
I have noticed this issue as well. What if we added a boolean parameter to
`register_taxonomy()` for showing or hiding the classes for that taxonomy.
I see this as similar to `show_in_nav_menus` or `show_admin_column`. I
could whip up a patch if that approach is favorable.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37114#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list