[wp-trac] [WordPress Trac] #11401: checks against array('draft', 'pending') should be changed

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 11 20:27:38 UTC 2009


#11401: checks against array('draft', 'pending') should be changed
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:     
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  2.9
Component:  Trash              |     Version:  2.9
 Severity:  normal             |    Keywords:     
-------------------------------+--------------------------------------------

Comment(by Denis-de-Bernardy):

 scanning further at the same time. there also are various occurrences of:

 {{{
 array('pending', 'draft', 'future')
 array('pending', 'draft')
 array('publish', 'future', 'private')
 array('publish', 'future')
 }}}

 and probably || statements that aren't immediately obvious when doing a
 search in project.

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


More information about the wp-trac mailing list