[wp-trac] [WordPress Trac] #24760: Creating default object from empty value in wp-includes/ms-settings.php on line 111

WordPress Trac noreply at wordpress.org
Sun Dec 6 18:23:20 UTC 2015


#24760: Creating default object from empty value in wp-includes/ms-settings.php on
line 111
--------------------------+-------------------------
 Reporter:  conner_bw     |       Owner:  jeremyfelt
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.5
Component:  Multisite     |     Version:  3.0
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  multisite
--------------------------+-------------------------
Changes (by jeremyfelt):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"35782"]:
 {{{
 #!CommitTicketReference repository="" revision="35782"
 MS: Populate `public` on empty `$current_blog` during subdomain
 activation.

 Activation of a subdomain site is done through that new site's address.
 This address does not exist in the `wp_blogs` table until activation is
 complete.

 In this case we need to make sure `public` is populated to avoid a PHP
 notice.

 Props uglyrobot.
 Fixes #24760.
 }}}

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


More information about the wp-trac mailing list