WordPress.org

Make WordPress Core

Changeset 6518


Ignore:
Timestamp:
12/28/2007 10:56:56 PM (13 years ago)
Author:
westi
Message:

Making the default theme notice free.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/default/functions.php

    r5679 r6518  
    8181
    8282function kubrick_add_theme_page() {
    83     if ( $_GET['page'] == basename(__FILE__) ) {
     83    if ( array_key_exists( 'page', $_GET ) && $_GET['page'] == basename(__FILE__) ) {
    8484        if ( 'save' == $_REQUEST['action'] ) {
    8585            check_admin_referer('kubrick-header');
Note: See TracChangeset for help on using the changeset viewer.