Make WordPress Core


Ignore:
Timestamp:
01/15/2011 03:40:52 AM (14 years ago)
Author:
westi
Message:

Switch _admin_search_query to use $_REQUEST so as to work for no-js searches sent over POST as well as url based searches over GET. See #14927

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r17294 r17309  
    15281528 */
    15291529function _admin_search_query() {
    1530     echo isset($_GET['s']) ? esc_attr( stripslashes( $_GET['s'] ) ) : '';
     1530    echo isset($_REQUEST['s']) ? esc_attr( stripslashes( $_REQUEST['s'] ) ) : '';
    15311531}
    15321532
Note: See TracChangeset for help on using the changeset viewer.