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

WordPress Trac noreply at wordpress.org
Sun Dec 4 21:04:31 UTC 2016


#37114: Allow short-circuiting `get_post_class` for performance
-------------------------------------------------+-------------------------
 Reporter:  bordoni                              |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Posts, Post Types                    |  Review
 Severity:  normal                               |     Version:  4.6
 Keywords:  has-patch dev-feedback needs-        |  Resolution:
  testing                                        |     Focuses:  template,
                                                 |  performance
-------------------------------------------------+-------------------------

Comment (by desrosj):

 Just as a note, the performance issue here has been solved with
 improvements to the term cache. However, this is still a nice to have for
 removing unnecessary classes for a taxonomy that has nothing to do with
 any front end functionality (CSS or JS).

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


More information about the wp-trac mailing list