Go to file
Sergey Biryukov fb7c39f88d Bootstrap/Load: Always run the fatal error handler at shutdown, but don't display the PHP error template once headers are sent.
If a fatal error occurs midway through a page load, or in a REST API request, it still needs to be handled internally for the recovery mode, but the custom message may conflict with already rendered output, e.g. by displaying HTML markup in an XML or JSON request.

Props spacedmonkey, flixos90, TimothyBlynJacobs.
Fixes #45989. See #44458.

git-svn-id: https://develop.svn.wordpress.org/trunk@45014 602fd350-edb4-49c9-b593-d223f7449a82
2019-03-26 20:29:52 +00:00
src Bootstrap/Load: Always run the fatal error handler at shutdown, but don't display the PHP error template once headers are sent. 2019-03-26 20:29:52 +00:00
tests Multisite: add new sites_pre_query and networks_pre_query filters to short circuit WP_Site_Query and WP_Network_Query queries. 2019-03-22 17:25:38 +00:00
tools Block Editor: Update the WordPress Packages from Gutenberg 5.3 2019-03-21 12:46:11 +00:00
.editorconfig
.gitignore Build/Test Tools: Update .gitignore to exclude twentynineteen and twentysixteen. 2019-01-09 13:44:30 +00:00
.jshintrc
.npmrc
.nvmrc
.travis.yml Build/Test tools: Reinstate fast finishing on Travis CI. 2019-03-25 16:07:01 +00:00
appveyor.yml Build Tools: Don't send AppVeyor notifications on Slack on repeated successful builds. 2019-01-15 05:48:46 +00:00
composer.json Build Tools: Upgrade WPCS to 2.0.0. 2019-01-18 02:14:24 +00:00
composer.lock Build Tools: Upgrade WPCS to 2.0.0. 2019-01-18 02:14:24 +00:00
Gruntfile.js Admin: Introduce the Site Health screens. 2019-03-23 03:54:16 +00:00
jsdoc.conf.json
package-lock.json Block Editor: Update the WordPress Packages from Gutenberg 5.3 2019-03-21 12:46:11 +00:00
package.json Block Editor: Update the WordPress Packages from Gutenberg 5.3 2019-03-21 12:46:11 +00:00
phpcs.xml.dist Coding Standards: exclude sodium_compat library. 2019-03-21 05:55:05 +00:00
phpunit.xml.dist Coding Standards: Replace spaced indentation sections of phpunit.xml.dist, multisite.xml, and build.xml with tabs. 2019-01-28 17:20:06 +00:00
webpack.config.js
wp-cli.yml Build/Tests: Default to running unit tests from src. 2019-01-09 10:09:02 +00:00
wp-config-sample.php General: Replace "Happy blogging" with "Happy publishing". 2019-01-08 04:29:06 +00:00
wp-tests-config-sample.php Tests: Revert [44509]. 2019-01-09 11:13:03 +00:00