WordPress.org

Make WordPress Core

Changeset 12394


Ignore:
Timestamp:
12/14/09 03:03:58 (4 years ago)
Author:
azaozz
Message:

Discard replies to comments on a trashed post, props nacin, fixes #11401

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-ajax.php

    r12351 r12394  
    709709    if ( empty($status) ) 
    710710        die('1'); 
    711     elseif ( in_array($status, array('draft', 'pending') ) ) 
     711    elseif ( in_array($status, array('draft', 'pending', 'trash') ) ) 
    712712        die( __('Error: you are replying to a comment on a draft post.') ); 
    713713 
Note: See TracChangeset for help on using the changeset viewer.