[wp-trac] [WordPress Trac] #48525: Add a possibility to disable sending the recovery e-mail
WordPress Trac
noreply at wordpress.org
Thu Nov 7 08:00:18 UTC 2019
#48525: Add a possibility to disable sending the recovery e-mail
-------------------------+-----------------------------
Reporter: apermo | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
As of now, it's only possible to turn off the recovery mode completely.
The recovery mode emails can be quite annoying while developing locally
cause you'll most likely throw errors from time to time.
A constant would already do the trick.
(written without actually checking if a return value is required, and if
that constant name is already in use)
{{{
if ( defined( 'WP_DISABLE_FATAL_ERROR_EMAIL' ) &&
WP_DISABLE_FATAL_ERROR_EMAIL ) {
return;
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48525>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list