Make WordPress Core


Ignore:
Timestamp:
11/04/2008 03:22:24 AM (16 years ago)
Author:
ryan
Message:

Notice fixes from filosofo and Viper007Bond. see #7509

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options.php

    r9487 r9506  
    7171        foreach ( $options as $option ) {
    7272            $option = trim($option);
    73             $value = $_POST[$option];
     73            $value = null;
     74            if ( isset($_POST[$option]) )
     75                $value = $_POST[$option];
    7476            if ( !is_array($value) ) $value = trim($value);
    7577            $value = stripslashes_deep($value);
Note: See TracChangeset for help on using the changeset viewer.