mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 08:11:52 +01:00
Remove debug code from WP_Automatic_Updater::send_email().
props markmcwilliams for initial patch. see #25678. Built from https://develop.svn.wordpress.org/trunk@25891 git-svn-id: http://core.svn.wordpress.org/trunk@25803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
77ca1f202a
commit
0976999929
@ -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