Allow people to update home again! See #7277.

git-svn-id: https://develop.svn.wordpress.org/trunk@8818 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2008-09-05 18:37:40 +00:00
parent 0d4c26b595
commit e80faacce3
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ $whitelist_options = array(
'writing' => array( 'default_post_edit_rows', 'use_smilies', 'ping_sites', 'mailserver_url', 'mailserver_port', 'mailserver_login', 'mailserver_pass', 'default_category', 'default_email_category', 'use_balanceTags', 'default_link_category', 'enable_app', 'enable_xmlrpc' ),
'options' => array( '' ) );
if ( !defined( 'WP_SITEURL' ) ) $whitelist_options['general'][] = 'siteurl';
if ( defined( 'WP_HOME' ) ) $whitelist_options['general'][] = 'home';
if ( !defined( 'WP_HOME' ) ) $whitelist_options['general'][] = 'home';
$whitelist_options = apply_filters( 'whitelist_options', $whitelist_options );