[wp-trac] [WordPress Trac] #27749: `wp_die()` should die in plain text when running the test suite
WordPress Trac
noreply at wordpress.org
Tue May 6 19:42:02 UTC 2014
#27749: `wp_die()` should die in plain text when running the test suite
-------------------------------+------------------
Reporter: Denis-de-Bernardy | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.0
Component: Build/Test Tools | Version: 3.9
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------------+------------------
Changes (by jorbin):
* keywords: => has-patch
Comment:
The above patch does three things:
1) It re-adds the filter to wp_die_handler
2) It moves all the wp_die_handler related functions into
includes/functions.php since that is loaded before wp-settings.php in
includes/bootstrap.php
3) it adds a simple text based wp_die_handler.
This makes wp_die much more usable when running the unit tests.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27749#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list