WordPress.org

Make WordPress Core

Changeset 17307


Ignore:
Timestamp:
01/15/2011 02:03:46 AM (7 years ago)
Author:
westi
Message:

Switch back to GET from REQUEST for these so the non js searches work again. See #14927

Location:
trunk/wp-admin
Files:
3 edited

Legend:

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

    r17270 r17307  
    9595    wp_redirect( $redirect_to );
    9696    exit;
    97 } elseif ( ! empty( $_REQUEST['_wp_http_referer'] ) ) {
     97} elseif ( ! empty( $_GET['_wp_http_referer'] ) ) {
    9898     wp_redirect( remove_query_arg( array( '_wp_http_referer', '_wpnonce' ), stripslashes( $_SERVER['REQUEST_URI'] ) ) );
    9999     exit;
  • trunk/wp-admin/link-manager.php

    r17006 r17307  
    3131        exit;
    3232    }
    33 } elseif ( ! empty( $_REQUEST['_wp_http_referer'] ) ) {
     33} elseif ( ! empty( $_GET['_wp_http_referer'] ) ) {
    3434     wp_redirect( remove_query_arg( array( '_wp_http_referer', '_wpnonce' ), stripslashes( $_SERVER['REQUEST_URI'] ) ) );
    3535     exit;
  • trunk/wp-admin/upload.php

    r17273 r17307  
    126126    wp_redirect( $location );
    127127    exit;
    128 } elseif ( ! empty( $_REQUEST['_wp_http_referer'] ) ) {
     128} elseif ( ! empty( $_GET['_wp_http_referer'] ) ) {
    129129     wp_redirect( remove_query_arg( array( '_wp_http_referer', '_wpnonce' ), stripslashes( $_SERVER['REQUEST_URI'] ) ) );
    130130     exit;
Note: See TracChangeset for help on using the changeset viewer.