mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +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:
@@ -290,7 +290,7 @@ switch ($action) {
|
||||
$standalone=0;
|
||||
include_once ('admin-header.php');
|
||||
if ($user_level < get_settings('links_minadminlevel')) {
|
||||
die("You have no right to edit the links for this blog.<br />Ask for a promotion to your <a href='mailto:$admin_email'>blog admin</a>. :)");
|
||||
die('You have do not have sufficent permissions to edit the links for this blog.');
|
||||
}
|
||||
|
||||
$row = $wpdb->get_row("SELECT *
|
||||
@@ -537,7 +537,7 @@ No</label></td>
|
||||
$standalone=0;
|
||||
include_once ("./admin-header.php");
|
||||
if ($user_level < get_settings('links_minadminlevel')) {
|
||||
die("You have no right to edit the links for this blog.<br>Ask for a promotion to your <a href=\"mailto:$admin_email\">blog admin</a> :)");
|
||||
die("You have do not have sufficient permissions to edit the links for this blog.");
|
||||
}
|
||||
|
||||
switch ($order_by)
|
||||
|
||||
Reference in New Issue
Block a user