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

WordPress Trac noreply at wordpress.org
Thu Jun 16 12:08:03 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:  trunk
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:  template, performance
-------------------------------+------------------------------------

Comment (by swissspidy):

 Where exactly are the performance problems in `post_class()` in your eyes?

 Note that with your patch there would be no escaping of post classes.

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


More information about the wp-trac mailing list