Make WordPress Core


Ignore:
Timestamp:
10/08/2009 08:24:59 AM (15 years ago)
Author:
azaozz
Message:

Add Undo when moving comments to the trash, remove unneeded nonces, see #4529

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/comment.php

    r11997 r12008  
    892892
    893893    $status = get_comment_meta($comment_id, '_wp_trash_meta_status', true);
    894     if ( false === $status || '' === $status )
     894    if ( empty($status) )
    895895        $status = '0';
    896896
Note: See TracChangeset for help on using the changeset viewer.