[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
Fri Sep 18 09:09:22 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:  Upgrade/Install  |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  2nd-opinion      |     Focuses:  multisite
-----------------------------+------------------------------

Comment (by fgirardey):

 Replying to [comment:2 kraftbj]:
 > This is intended behavior. The constants have no impact on Multisite:
 https://core.trac.wordpress.org/changeset/14517

 The intended behavior is : ''WP_HOME and WP_SITEURL should not have any
 effect in MS''

 Fine, so MS rely on the values inserted in the database, but when you
 perform a fresh install of WordPress, the value of '''wp_options.home'''
 is wrong.

 The only case it is broken is when you install a single instance of
 WordPress with defined '''WP_HOME''' and '''WP_SITEURL''' and then you
 install a network.

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


More information about the wp-trac mailing list