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

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 13 18:19:18 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:  reporter-feedback
-------------------------------+--------------------------------------------

Comment(by nacin):

 All I found is that while wp-comments-posts.php checks for trash status
 and bails, admin-ajax.php doesn't check when replying to comments in wp-
 admin. I was able to reply to a comment on a post that was trashed.

 Two patches correct this -- one adheres to string freeze, the other
 doesn't.

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


More information about the wp-trac mailing list