From e80faacce3fcb7de17e25aedee48ee404cdd7d22 Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Fri, 5 Sep 2008 18:37:40 +0000 Subject: [PATCH] Allow people to update home again! See #7277. git-svn-id: https://develop.svn.wordpress.org/trunk@8818 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/options.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/options.php b/wp-admin/options.php index ed67687d02..2aa7f463fa 100644 --- a/wp-admin/options.php +++ b/wp-admin/options.php @@ -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 );