WordPress.org

Make WordPress Core

Changeset 16580


Ignore:
Timestamp:
11/25/2010 02:05:52 AM (8 years ago)
Author:
scribu
Message:

Prevent WSOD when no comments selected for bulk action. See #15572

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-comments.php

    r16438 r16580  
    3030    } elseif ( isset( $_REQUEST['ids'] ) ) {
    3131        $comment_ids = array_map( 'absint', explode( ',', $_REQUEST['ids'] ) );
    32     } else {
     32    } elseif ( wp_get_referer() ) {
    3333        wp_redirect( wp_get_referer() );
    3434        exit;
Note: See TracChangeset for help on using the changeset viewer.