[wp-trac] [WordPress Trac] #33909: The `home` option not equivalent to the WP_HOME constant value in multisite and single instance

WordPress Trac noreply at wordpress.org
Thu Sep 17 17:57:51 UTC 2015


#33909: The `home` option not equivalent to the WP_HOME constant value in multisite
and single instance
--------------------------+------------------------------
 Reporter:  jlambe        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Database      |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  2nd-opinion   |     Focuses:  multisite
--------------------------+------------------------------
Changes (by fgirardey):

 * keywords:   => 2nd-opinion
 * component:  Networks and Sites => Database


Comment:

 Hi,

 I've juste found that bug for the exactly same use case.

 I think the problem comes directly from the installation process, because
 after installing WordPress if you change the '''wp_options.home''' to the
 correct value and then you install a network, the value of
 '''wp_blogs.domain''' is correct.

 It seems that at installation the '''wp_options.siteurl''' and
 '''wp_options.home''' relies on the same function which is
 `wp_guess_url()` which is an error because this function only use
 `WP_SITEURL` when the constant is defined.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33909#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list