Make WordPress Core


Ignore:
Timestamp:
03/19/2010 09:29:21 PM (15 years ago)
Author:
nacin
Message:

Remove redundant isset() and empty() checks.

File:
1 edited

Legend:

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

    r13643 r13770  
    133133    wp_redirect($sendback);
    134134    exit();
    135 } elseif ( isset($_GET['_wp_http_referer']) && ! empty($_GET['_wp_http_referer']) ) {
     135} elseif ( ! empty($_GET['_wp_http_referer']) ) {
    136136     wp_redirect( remove_query_arg( array('_wp_http_referer', '_wpnonce'), stripslashes($_SERVER['REQUEST_URI']) ) );
    137137     exit;
Note: See TracChangeset for help on using the changeset viewer.