diff --git src/wp-admin/includes/schema.php src/wp-admin/includes/schema.php
index 4eb6bca..a69921c 100644
|
|
$wp_queries = wp_get_db_schema( 'all' ); |
344 | 344 | function populate_options() { |
345 | 345 | global $wpdb, $wp_db_version, $wp_current_db_version; |
346 | 346 | |
347 | | $guessurl = wp_guess_url(); |
| 347 | $guessurl = $homeurl = wp_guess_url(); |
| 348 | if ( defined( 'WP_HOME' ) && ! empty( WP_HOME ) ) { // wp_guess_url() checked WP_SITEURL constant. |
| 349 | $homeurl = rtrim( WP_HOME, '/' ); |
| 350 | } |
348 | 351 | /** |
349 | 352 | * Fires before creating WordPress options and populating their default values. |
350 | 353 | * |
… |
… |
function populate_options() { |
379 | 382 | |
380 | 383 | $options = array( |
381 | 384 | 'siteurl' => $guessurl, |
382 | | 'home' => $guessurl, |
| 385 | 'home' => $homeurl, |
383 | 386 | 'blogname' => __('My Site'), |
384 | 387 | /* translators: blog tagline */ |
385 | 388 | 'blogdescription' => __('Just another WordPress site'), |