[wp-trac] [WordPress Trac] #37114: Allow short-circuiting `get_post_class` for performance

WordPress Trac noreply at wordpress.org
Tue Sep 13 14:18:11 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 robinwpdeveloper):

 Agreed with @SergeyBiryukov .
 [https://core.trac.wordpress.org/attachment/ticket/37114/37114.3.diff
 37114.3.diff] LGTM as well.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/37114#comment:40>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list