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

WordPress Trac noreply at wordpress.org
Wed Aug 30 13:44:44 UTC 2017


#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 xParham):

 Guys, see the attached file above. This is still a performance killer when
 there are lots of custom taxonomies. I was able to use a custom function
 for the theme to fix it for the end user, but cannot do anything for the
 posts list in the admin dashboard.

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


More information about the wp-trac mailing list