[wp-trac] [WordPress Trac] #24445: Improve is_multi_author() performance

WordPress Trac noreply at wordpress.org
Sat Jun 1 18:15:54 UTC 2013


#24445: Improve is_multi_author() performance
-------------------------+------------------
 Reporter:  alexvorn2    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.6
Component:  Template     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------

Comment (by alex-ye):

 Nice improvement, for me the is_multi_author() doesn't take a lot time,
 but maybe it's related with the posts count.

 In addition to the above patch I will love to see a new filter
 'pre_is_multi_author' to set a predefined value so the function doesn't
 need to run the database query.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24445#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list