From 4b6d5b10d4ef473241d8bce11f62dc1fc329164f Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Mon, 5 May 2014 21:56:11 +0000 Subject: [PATCH] Move 'home' option to the top of populate_options(). fixes #28141. git-svn-id: https://develop.svn.wordpress.org/trunk@28260 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/schema.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/schema.php b/src/wp-admin/includes/schema.php index 0c7a53c909..4405ab32f2 100644 --- a/src/wp-admin/includes/schema.php +++ b/src/wp-admin/includes/schema.php @@ -364,6 +364,7 @@ function populate_options() { $options = array( 'siteurl' => $guessurl, + 'home' => $guessurl, 'blogname' => __('My Site'), /* translators: blog tagline */ 'blogdescription' => __('Just another WordPress site'), @@ -400,7 +401,6 @@ function populate_options() { 'blog_charset' => 'UTF-8', 'moderation_keys' => '', 'active_plugins' => array(), - 'home' => $guessurl, 'category_base' => '', 'ping_sites' => 'http://rpc.pingomatic.com/', 'advanced_edit' => 0,