Check if not empty rather than isset. fixes #7553 see #7552

git-svn-id: http://svn.automattic.com/wordpress/trunk@8693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-08-20 22:01:44 +00:00
parent 0144bd4233
commit f683a857da
1 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,8 @@
require_once('admin.php');
// Handle bulk actions
if ( isset($_GET['action']) && $_GET['action'] != 'Actions' ) {
if ( !empty($_GET['action']) && $_GET['action'] != 'Actions' ) {
echo "Ation is " . $_GET['action'];
switch ( $_GET['action'] ) {
case 'delete':
if ( isset($_GET['post']) ) {