[wp-trac] [WordPress Trac] #11076: Allow 'include' & 'exclude' args to be arrays

WordPress Trac wp-trac at lists.automattic.com
Sat Mar 20 18:54:59 UTC 2010


#11076: Allow 'include' & 'exclude' args to be arrays
------------------------------+---------------------------------------------
 Reporter:  scribu            |        Owner:  filosofo
     Type:  enhancement       |       Status:  reopened
 Priority:  normal            |    Milestone:  3.0     
Component:  General           |      Version:          
 Severity:  normal            |   Resolution:          
 Keywords:  has-patch commit  |  
------------------------------+---------------------------------------------
Changes (by scribu):

  * keywords:  needs-patch => has-patch commit


Comment:

 post.php.diff:

 - use wp_parse_id_list() in get_posts() and get_pages()

 - replace {{{if ( count(...) )}}} with {{{if ( !empty(...) )}}}

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


More information about the wp-trac mailing list