[wp-trac] [WordPress Trac] #14405: New Conditional Template Tag: is_multi_author()

WordPress Trac wp-trac at lists.automattic.com
Thu May 12 06:55:50 UTC 2011


#14405: New Conditional Template Tag: is_multi_author()
------------------------------+------------------------
 Reporter:  iandstewart       |       Owner:  westi
     Type:  enhancement       |      Status:  reviewing
 Priority:  normal            |   Milestone:  3.2
Component:  Themes            |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------------
Changes (by westi):

 * keywords:  has-patch commit 3.2-early => has-patch commit


Comment:

 "is_multi_author_cached.3.14405.diff" uses a nice fast query and the
 object cache (if it exists)

 This means that for sites with an object cache it can be used to avoid
 queries

 For sites without they just get one fast query - better than using a
 transient which means two queries one to check the timeout and one to
 fetch the value.

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


More information about the wp-trac mailing list