WordPress.org

Make WordPress Core

Ticket #14927: fix-no-js-please.diff

File fix-no-js-please.diff, 634 bytes (added by westi, 4 years ago)
  • public/wp-admin/link-manager.php

    ### Eclipse Workspace Patch 1.0
    #P trunk.domain
     
    3030                wp_redirect( add_query_arg('deleted', count( $bulklinks ), admin_url( 'link-manager.php' ) ) ); 
    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; 
    3636}