From c21d556a9f5a561fdea955fbe6a3e9f43c383604 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 20 Aug 2008 22:01:44 +0000 Subject: [PATCH] Check if not empty rather than isset. fixes #7553 see #7552 git-svn-id: https://develop.svn.wordpress.org/trunk@8693 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/edit.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-admin/edit.php b/wp-admin/edit.php index a104861d99..105b6d2fbd 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -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']) ) {