[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
Mon Jul 15 17:38:35 UTC 2013


#24760: Creating default object from empty value in wp-includes/ms-settings.php on
line 111
--------------------------+-----------------------------
 Reporter:  conner_bw     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.5.2
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 Getting:

 ''Creating default object from empty value in wp-includes/ms-settings.php
 on line 111''

 On MU signups.

 Line ~111 is:

 {{{
 if ( empty( $current_blog->site_id ) )
   $current_blog->site_id = 1;
 }}}

 Short version: Depending on caching system used, or if some plugin
 "enhances" the signup procedure, $current_blog can be null.

 Would benefit from a patch similar to:
 http://core.trac.wordpress.org/changeset/21815

 Thank you for your consideration.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24760>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list