Changeset 6518

Show
Ignore:
Timestamp:
12/28/07 22:56:56 (8 months ago)
Author:
westi
Message:

Making the default theme notice free.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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');