Fix display of moderation update messages. Props to morganiq. http://mosquito.wordpress.org/view.php?id=820

git-svn-id: http://svn.automattic.com/wordpress/trunk@2233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2005-02-06 20:49:26 +00:00
parent d7279b073a
commit 20ef36ab0f

View File

@ -76,9 +76,9 @@ require_once('admin-header.php');
if ( isset($_GET['deleted']) || isset($_GET['approved']) || isset($_GET['ignored']) ) {
echo "<div class='updated'>\n<p>";
$_GET['approved'] = (int) $_GET['approved'];
$_GET['deleted'] = (int) $_GET['deleted'];
$_GET['ignored'] = (int) $_GET['ignored'];
$approved = (int) $_GET['approved'];
$deleted = (int) $_GET['deleted'];
$ignored = (int) $_GET['ignored'];
if ($approved) {
if ('1' == $approved) {
echo __("1 comment approved <br />") . "\n";