[wp-trac] [WordPress Trac] #37114: Allow short-circuiting `get_post_class` for performance
WordPress Trac
noreply at wordpress.org
Mon Sep 19 17:53:08 UTC 2022
#37114: Allow short-circuiting `get_post_class` for performance
-------------------------------+------------------------------------
Reporter: bordoni | Owner: davidbaumwald
Type: enhancement | Status: reopened
Priority: normal | Milestone: 6.1
Component: Posts, Post Types | Version: 4.2
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses: template, performance
-------------------------------+------------------------------------
Comment (by davidbaumwald):
In [changeset:"54208" 54208]:
{{{
#!CommitTicketReference repository="" revision="54208"
Posts, Post Types: Update new `wp_post_class_taxonomies` filter name for
consistency.
In [54066], a new filter was added to alter the taxonomies for which class
names are generated for a given post type. At the time, the filter name
was prefixed with `wp_`.
For consistency with filters of a similar type, this change updates the
filter name to `post_class_taxonomies`.
Follow-up to [54066].
Props SergeyBiryukov.
See #37114.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37114#comment:41>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list