Remove debug code from WP_Automatic_Updater::send_email().
props markmcwilliams for initial patch. see #25678. git-svn-id: https://develop.svn.wordpress.org/trunk@25891 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a75c4a56a8
commit
9c5420d74d
@ -2137,8 +2137,6 @@ class WP_Automatic_Updater {
|
||||
$next_user_core_update = $core_update;
|
||||
$newer_version_available = ( 'upgrade' == $next_user_core_update->response && version_compare( $next_user_core_update->version, $core_update, '>' ) );
|
||||
|
||||
$newer_version_available = true;
|
||||
$next_user_core_update->version = $next_user_core_update->current = '3.8.1';
|
||||
/**
|
||||
* Filter whether to send an email following an automatic background core update.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user