More cap migration.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -15,7 +15,7 @@ switch ($step) {
|
||||
case 0:
|
||||
{
|
||||
include_once('admin-header.php');
|
||||
if ($user_level < 5)
|
||||
if ( !current_user_can('manage_links') )
|
||||
die (__("Cheatin’ uh?"));
|
||||
|
||||
$opmltype = 'blogrolling'; // default.
|
||||
@@ -65,7 +65,7 @@ switch ($step) {
|
||||
|
||||
case 1: {
|
||||
include_once('admin-header.php');
|
||||
if ($user_level < 5)
|
||||
if ( !current_user_can('manage_links') )
|
||||
die (__("Cheatin' uh ?"));
|
||||
?>
|
||||
<div class="wrap">
|
||||
|
||||
Reference in New Issue
Block a user