From acd5fb96f10d541667b1f3bac54e3352cfc4674f Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Sat, 24 Sep 2005 05:56:22 +0000 Subject: [PATCH] Use cap instead of level. git-svn-id: https://develop.svn.wordpress.org/trunk@2914 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-content/themes/default/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-content/themes/default/functions.php b/wp-content/themes/default/functions.php index 728091403c..c624beff25 100644 --- a/wp-content/themes/default/functions.php +++ b/wp-content/themes/default/functions.php @@ -126,7 +126,7 @@ function kubrick_add_theme_page() { } add_action('admin_head', 'kubrick_theme_page_head'); } - add_theme_page("Kubrick Theme Options", "Current Theme Options", 5, basename(__FILE__), 'kubrick_theme_page'); + add_theme_page("Kubrick Theme Options", "Current Theme Options", 'edit_themes', basename(__FILE__), 'kubrick_theme_page'); } function kubrick_theme_page_head() { @@ -384,4 +384,4 @@ function kubrick_theme_page() { - \ No newline at end of file +