mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 05:31:25 +01:00
Use cap instead of level.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ed15ebd4c3
commit
7de2ddc98d
@ -126,7 +126,7 @@ function kubrick_add_theme_page() {
|
|||||||
}
|
}
|
||||||
add_action('admin_head', 'kubrick_theme_page_head');
|
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() {
|
function kubrick_theme_page_head() {
|
||||||
@ -384,4 +384,4 @@ function kubrick_theme_page() {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user