[wp-trac] [WordPress Trac] #45974: wp_maintenance should use wp_die
WordPress Trac
noreply at wordpress.org
Mon Jan 14 02:37:49 UTC 2019
#45974: wp_maintenance should use wp_die
----------------------------+------------------------------
Reporter: spacedmonkey | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bootstrap/Load | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch | Focuses: accessibility
----------------------------+------------------------------
Comment (by pento):
What kind of plugins would be able to filter this output?
`wp_maintenance()` is called before any plugins or dropins are loaded.
WP-CLI would be able to use it (for example, the
`enable_loading_advanced_cache_dropin` filter was added for WP-CLI),
similar custom loaders could do it, too.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45974#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list