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/upload.php

    r13733 r13770  
    118118    wp_redirect($location);
    119119    exit;
    120 } elseif ( isset($_GET['_wp_http_referer']) && ! empty($_GET['_wp_http_referer']) ) {
     120} elseif ( ! empty($_GET['_wp_http_referer']) ) {
    121121     wp_redirect( remove_query_arg( array('_wp_http_referer', '_wpnonce'), stripslashes($_SERVER['REQUEST_URI']) ) );
    122122     exit;
Note: See TracChangeset for help on using the changeset viewer.