[wp-trac] [WordPress Trac] #28697: Fix ms_subdomain_constants()

WordPress Trac noreply at wordpress.org
Wed Jul 16 22:34:19 UTC 2014


#28697: Fix ms_subdomain_constants()
----------------------------+-----------------------------
 Reporter:  TobiasBg        |       Owner:  wonderboymusic
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  4.0
Component:  Bootstrap/Load  |     Version:  3.0
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:  multisite
----------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"29200"]:
 {{{
 #!CommitTicketReference repository="" revision="29200"
 Properly set `$subdomain_error` to `false` when applicable in
 `ms_subdomain_constants()`. This was previously untestable because it used
 static vars: use globals instead.

 Adds unit test.
 Fixes #28697.
 }}}

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


More information about the wp-trac mailing list