More cap migration.

git-svn-id: http://svn.automattic.com/wordpress/trunk@2714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2005-07-15 02:16:45 +00:00
parent 40a99fc9a1
commit 508e55acd2
13 changed files with 45 additions and 62 deletions

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">