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

WordPress Trac noreply at wordpress.org
Tue Aug 14 14:22:32 UTC 2018


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

Comment (by steveo2000):

 Still a performance killer on my site with hundreds of taxonomies. The
 only way I can see this speeding up my scenario is by filtering
 get_taxonomies() to be empty.

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


More information about the wp-trac mailing list