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

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 20 21:51:15 UTC 2010


#14405: New Conditional Template Tag: is_multi_author()
-------------------------+--------------------------------------------------
 Reporter:  iandstewart  |       Owner:                 
     Type:  enhancement  |      Status:  new            
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Themes       |     Version:                 
 Severity:  normal       |    Keywords:                 
-------------------------+--------------------------------------------------

Comment(by filosofo):

 `is_multi_author_cached.3.14405.diff` responds to my realization that the
 cache check wasn't going to work properly without checking the type:
 cache an integer to distinguish single-author `(int) 0` from invalid cache
 `(bool) false`.

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


More information about the wp-trac mailing list