[wp-trac] [WordPress Trac] #31130: WP_INSTALLING causes leakage between unit tests
WordPress Trac
noreply at wordpress.org
Tue Oct 6 22:03:11 UTC 2015
#31130: WP_INSTALLING causes leakage between unit tests
------------------------------------+---------------------------
Reporter: boonebgorges | Owner: boonebgorges
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.4
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+---------------------------
Comment (by adamsilverstein):
I'm seeing a fatal in load.php after [34828] if I have a `.maintenance`
file in my wp root. This is because functions.php hasn't loaded yet when
`wp_maintenance` is called, and PHP dies when `wp_installing` is
undefined.
Not certain what to do. Patch incoming that reverts this line change so no
more fatals, yea! maybe better would be to define the function where
`wp_maintenance` would have access to it, perhaps in load.php itself?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31130#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list