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
git-svn-id: http://svn.automattic.com/wordpress/trunk@17309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
85ba6178b0
commit
035b3fb22a
|
@ -1527,7 +1527,7 @@ function _draft_or_post_title( $post_id = 0 ) {
|
|||
*
|
||||
*/
|
||||
function _admin_search_query() {
|
||||
echo isset($_GET['s']) ? esc_attr( stripslashes( $_GET['s'] ) ) : '';
|
||||
echo isset($_REQUEST['s']) ? esc_attr( stripslashes( $_REQUEST['s'] ) ) : '';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue