[wp-trac] Re: [WordPress Trac] #2585: Add is() function that checks for single object queries.

WordPress Trac wp-trac at lists.automattic.com
Sat Mar 25 04:30:11 GMT 2006


#2585: Add is() function that checks for single object queries.
----------------------------+-----------------------------------------------
       Id:  2585            |      Status:  new                     
Component:  Administration  |    Modified:  Sat Mar 25 04:30:11 2006
 Severity:  normal          |   Milestone:  2.1                     
 Priority:  normal          |     Version:  2.1                     
    Owner:  ryan            |    Reporter:  ryan                    
----------------------------+-----------------------------------------------
Comment (by markjaquith):

 If you can find any calls that are like this:

 {{{
 if ( is_single() || is_page() || is_attachment() ) :
 }}}

 Then yes, they should probably be collapsed.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2585>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list