From 4a65c047c5afdd2d5d693221c0ae1caacb3e5b98 Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Fri, 18 Sep 2009 21:06:23 +0000 Subject: [PATCH] Fix notice when adding tag from the Post Tags page. Fixes #10808 props prettyboymp. git-svn-id: https://develop.svn.wordpress.org/trunk@11951 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/pluggable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index 706900ec40..675709e388 100644 --- a/wp-includes/pluggable.php +++ b/wp-includes/pluggable.php @@ -821,7 +821,7 @@ function check_ajax_referer( $action = -1, $query_arg = false, $die = true ) { if ( $query_arg ) $nonce = $_REQUEST[$query_arg]; else - $nonce = $_REQUEST['_ajax_nonce'] ? $_REQUEST['_ajax_nonce'] : $_REQUEST['_wpnonce']; + $nonce = isset($_REQUEST['_ajax_nonce']) ? $_REQUEST['_ajax_nonce'] : $_REQUEST['_wpnonce']; $result = wp_verify_nonce( $nonce, $action );