mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
Migration to get_settings and away from globals.
git-svn-id: https://develop.svn.wordpress.org/trunk@957 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -51,7 +51,7 @@ case 'update':
|
||||
require_once('admin-header.php');
|
||||
|
||||
if ($user_level < 3) {
|
||||
die('<p>Your level is not high enough to moderate comments. Ask for a promotion from your <a href="mailto:$admin_email">blog admin</a>. :)</p>');
|
||||
die('<p>Your level is not high enough to moderate comments.</p>');
|
||||
}
|
||||
|
||||
$item_ignored = 0;
|
||||
@@ -92,7 +92,7 @@ default:
|
||||
require_once('admin-header.php');
|
||||
|
||||
if ($user_level <= 3) {
|
||||
die('<p>Your level is not high enough to moderate comments. Ask for a promotion from your <a href="mailto:$admin_email">blog admin</a>. :)</p>');
|
||||
die('<p>Your level is not high enough to moderate comments.</p>');
|
||||
}
|
||||
?>
|
||||
<ul id="adminmenu2">
|
||||
|
||||
Reference in New Issue
Block a user