mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Making the default theme notice free.
git-svn-id: https://develop.svn.wordpress.org/trunk@6518 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -80,7 +80,7 @@ function kubrick_header_display_string() {
|
||||
add_action('admin_menu', 'kubrick_add_theme_page');
|
||||
|
||||
function kubrick_add_theme_page() {
|
||||
if ( $_GET['page'] == basename(__FILE__) ) {
|
||||
if ( array_key_exists( 'page', $_GET ) && $_GET['page'] == basename(__FILE__) ) {
|
||||
if ( 'save' == $_REQUEST['action'] ) {
|
||||
check_admin_referer('kubrick-header');
|
||||
if ( isset($_REQUEST['njform']) ) {
|
||||
|
||||
Reference in New Issue
Block a user