[wp-trac] [WordPress Trac] #30947: wp-includes files should not contain hooks

WordPress Trac noreply at wordpress.org
Tue Mar 10 22:31:11 UTC 2015


#30947: wp-includes files should not contain hooks
--------------------------------------------+-----------------------------
 Reporter:  wonderboymusic                  |       Owner:  SergeyBiryukov
     Type:  enhancement                     |      Status:  reopened
 Priority:  normal                          |   Milestone:  4.2
Component:  General                         |     Version:  trunk
 Severity:  normal                          |  Resolution:
 Keywords:  has-patch 2nd-opinion 4.2-beta  |     Focuses:
--------------------------------------------+-----------------------------
Changes (by rachelbaker):

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


Comment:

 On an multisite install after 31701 I see this:

 '''Notice:''' Trying to get property of non-object in /srv/www/wp/wp-
 includes/functions.php on line 3834

 the wp-includes/default-filters.php is loaded before the $current_site
 global is set.

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


More information about the wp-trac mailing list