More cap migration.

git-svn-id: https://develop.svn.wordpress.org/trunk@2714 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2005-07-15 02:16:45 +00:00
parent 235345a916
commit 9527e184fe
13 changed files with 45 additions and 62 deletions
+2 -2
View File
@@ -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&#8217; 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">