wppaste
WordPress

WP_Automatic_Updater::send_email( string $type, object $core_update, mixed $result = null )

Since
3.7.0
Source
wp-admin/includes/class-wp-automatic-updater.php:898
Sends an email upon the completion or failure of a background core update.

Compatibility

WordPress
since 3.7.0
PHP
7.4–8.6-dev
  • 6.7.7
  • 6.8.8
  • 6.9.7
  • 7.0.4
  • 7.1.0

Present in every tracked release (6.7.7 to 7.1.0), and compiles on PHP 7.4 through 8.6-dev.

Parameters

$typestring
The type of email to send. Can be one of 'success', 'fail', 'manual', 'critical'.
$core_updateobject
The update offer that was attempted.
$resultmixedoptional
The result for the core update. Can be WP_Error.Default: null

Performance profile

How much work a call to WP_Automatic_Updater::send_email() does, and what it touches: the algorithmic scaling, the Zend instruction count per call across PHP versions, the hooks it hands control to, and the core code that calls it. Measured from the compiled opcodes, not a stopwatch, so every number is identical on any machine running the same PHP version, and every function in core is ranked by cost.

Cost class
Expensive

Sends mail via wp_mail().

Scaling
Scales with input

The body loops, so the work grows with what you pass in.

Instructions
155–227

Executed per call on PHP 8.5, depending on the branch taken. The body compiles to 424.

Plugin surface
2 hooks

Third-party callbacks on 'auto_core_update_send_email', 'auto_core_update_email' run inside this call, and their cost is not bounded by anything here.

Called by
2

2 places in core call this, so the cost is paid more often than your own code shows.

What it touches

  • optionnetwork optionupdate_site_option()called directly
  • hookthird-party callbacksapply_filters()called directly
  • mailsends mailwp_mail()called directly
  • cacheobject cachewp_cache_get()one call below WP_Automatic_Updater::send_email()
  • serializeserialisationmaybe_unserialize()one call below WP_Automatic_Updater::send_email()
  • transienttransientget_site_transient()one call below WP_Automatic_Updater::send_email()

Further down the call graph this can also reach query. That is the worst case, several calls deep and usually down an error path, not what a normal call pays.

What one call costs · 96 distinct outcomes

One number would be a lie: the work depends on which branch runs. These are every distinct cost WP_Automatic_Updater::send_email() can have, taken from its control-flow graph on PHP 8.5.

WhenInstructionsCalls it makes
$type === "manual" && $type !== "critical"155–158get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "critical"156–157get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "success" && $type !== "critical"159–163get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), __(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type === "critical" && !is_wp_error()159–162get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), is_wp_error(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "success" && $type !== "critical"160–162get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), __(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !is_wp_error()160–161get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), is_wp_error(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "critical" && !get_plugin_updates() && !get_theme_updates()162–164get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "success" && $type === "critical" && !is_wp_error()163–167get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), __(), is_wp_error(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "critical" && !get_plugin_updates() && !get_theme_updates()163get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), get_plugin_updates(), get_theme_updates(), __(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "success" && $type !== "critical"164–167get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), __(), __(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "success" && !is_wp_error()164–166get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), __(), is_wp_error(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "success" && $type !== "critical"165–167get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), __(), __(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
84 further outcomes, up to 227 instructions
$type === "manual" && $type !== "critical" && !get_plugin_updates() && !get_theme_updates()166–169get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && !get_theme_updates() && $type === "critical" && !is_wp_error()166–168get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), is_wp_error(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "critical" && !get_plugin_updates() && !get_theme_updates()167–168get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), get_plugin_updates(), get_theme_updates(), __(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && !get_theme_updates() && !is_wp_error()167get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), get_plugin_updates(), get_theme_updates(), __(), is_wp_error(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "success" && $type === "critical" && !is_wp_error()168–171get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), __(), __(), is_wp_error(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "critical" && get_plugin_updates()168–170get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), get_plugin_updates(), __(), network_admin_url(), __(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "success" && !is_wp_error()169–171get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), __(), __(), is_wp_error(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "critical" && get_plugin_updates()169get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), get_plugin_updates(), __(), network_admin_url(), __(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && !get_theme_updates() && $type === "critical" && !is_wp_error()170–173get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), is_wp_error(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "critical" && !get_plugin_updates() && !get_theme_updates()171–173get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "critical" && !get_plugin_updates() && get_theme_updates()171–173get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), network_admin_url(), __(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && !get_theme_updates() && !is_wp_error()171–172get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), get_plugin_updates(), get_theme_updates(), __(), is_wp_error(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "critical" && get_plugin_updates()172–175get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), get_plugin_updates(), __(), network_admin_url(), __(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && get_plugin_updates() && $type === "critical" && !is_wp_error()172–174get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), get_plugin_updates(), __(), network_admin_url(), __(), is_wp_error(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "critical" && !get_plugin_updates() && !get_theme_updates()172–173get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "critical" && !get_plugin_updates() && get_theme_updates()172get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), get_plugin_updates(), get_theme_updates(), __(), network_admin_url(), __(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "critical" && get_plugin_updates()173–174get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), get_plugin_updates(), __(), network_admin_url(), __(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && get_plugin_updates() && !is_wp_error()173get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), get_plugin_updates(), __(), network_admin_url(), __(), is_wp_error(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "critical" && !get_plugin_updates() && get_theme_updates()175–178get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), network_admin_url(), __(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && !get_theme_updates() && $type === "critical" && !is_wp_error()175–177get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), is_wp_error(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && get_theme_updates() && $type === "critical" && !is_wp_error()175–177get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), network_admin_url(), __(), is_wp_error(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && get_plugin_updates() && $type === "critical" && !is_wp_error()176–179get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), get_plugin_updates(), __(), network_admin_url(), __(), is_wp_error(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "critical" && !get_plugin_updates() && get_theme_updates()176–177get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), get_plugin_updates(), get_theme_updates(), __(), network_admin_url(), __(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && !get_theme_updates() && !is_wp_error()176–177get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), is_wp_error(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && get_theme_updates() && !is_wp_error()176get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), get_plugin_updates(), get_theme_updates(), __(), network_admin_url(), __(), is_wp_error(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "critical" && get_plugin_updates()177–179get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), __(), get_plugin_updates(), __(), network_admin_url(), __(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && get_plugin_updates() && !is_wp_error()177–178get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), get_plugin_updates(), __(), network_admin_url(), __(), is_wp_error(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "critical" && get_plugin_updates()178–179get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), __(), get_plugin_updates(), __(), network_admin_url(), __(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && get_theme_updates() && $type === "critical" && !is_wp_error()179–182get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), network_admin_url(), __(), is_wp_error(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "critical" && !get_plugin_updates() && get_theme_updates()180–182get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), network_admin_url(), __(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && get_theme_updates() && !is_wp_error()180–181get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), get_plugin_updates(), get_theme_updates(), __(), network_admin_url(), __(), is_wp_error(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && get_plugin_updates() && $type === "critical" && !is_wp_error()181–183get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), __(), get_plugin_updates(), __(), network_admin_url(), __(), is_wp_error(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "critical" && !get_plugin_updates() && get_theme_updates()181–182get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), network_admin_url(), __(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && get_plugin_updates() && !is_wp_error()182–183get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), __(), get_plugin_updates(), __(), network_admin_url(), __(), is_wp_error(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && get_theme_updates() && $type === "critical" && !is_wp_error()184–186get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), network_admin_url(), __(), is_wp_error(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && get_theme_updates() && !is_wp_error()185–186get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), network_admin_url(), __(), is_wp_error(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type === "critical" && is_wp_error()190–194get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && is_wp_error()191–193get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "success" && $type === "critical" && is_wp_error()194–199get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "success" && is_wp_error()195–198get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && !get_theme_updates() && $type === "critical" && is_wp_error()197–200get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && !get_theme_updates() && is_wp_error()198–199get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), get_plugin_updates(), get_theme_updates(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "success" && $type === "critical" && is_wp_error()199–203get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), __(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type === "critical" && is_wp_error()199–203get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), ->get_error_data(), ->get_error_data(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "success" && is_wp_error()200–203get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), __(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && is_wp_error()200–202get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), ->get_error_data(), ->get_error_data(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && !get_theme_updates() && $type === "critical" && is_wp_error()201–205get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && !get_theme_updates() && is_wp_error()202–204get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), get_plugin_updates(), get_theme_updates(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "success" && $type === "critical" && is_wp_error()203–208get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), ->get_error_data(), ->get_error_data(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && get_plugin_updates() && $type === "critical" && is_wp_error()203–206get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), get_plugin_updates(), __(), network_admin_url(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "success" && is_wp_error()204–207get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), ->get_error_data(), ->get_error_data(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && get_plugin_updates() && is_wp_error()204–205get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), get_plugin_updates(), __(), network_admin_url(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && !get_theme_updates() && $type === "critical" && is_wp_error()206–209get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && !get_theme_updates() && $type === "critical" && is_wp_error()206–209get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), ->get_error_data(), ->get_error_data(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && get_theme_updates() && $type === "critical" && is_wp_error()206–209get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), network_admin_url(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && get_plugin_updates() && $type === "critical" && is_wp_error()207–211get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), get_plugin_updates(), __(), network_admin_url(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && !get_theme_updates() && is_wp_error()207–209get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && !get_theme_updates() && is_wp_error()207–208get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), get_plugin_updates(), get_theme_updates(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), ->get_error_data(), ->get_error_data(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && get_theme_updates() && is_wp_error()207–208get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), get_plugin_updates(), get_theme_updates(), __(), network_admin_url(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "success" && $type === "critical" && is_wp_error()208–212get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), __(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), ->get_error_data(), ->get_error_data(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && get_plugin_updates() && is_wp_error()208–210get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), get_plugin_updates(), __(), network_admin_url(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && $type !== "success" && is_wp_error()209–212get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), __(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), ->get_error_data(), ->get_error_data(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && !get_theme_updates() && $type === "critical" && is_wp_error()210–214get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), ->get_error_data(), ->get_error_data(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && get_theme_updates() && $type === "critical" && is_wp_error()210–214get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), network_admin_url(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && !get_theme_updates() && is_wp_error()211–213get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), get_plugin_updates(), get_theme_updates(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), ->get_error_data(), ->get_error_data(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && get_theme_updates() && is_wp_error()211–213get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), get_plugin_updates(), get_theme_updates(), __(), network_admin_url(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && get_plugin_updates() && $type === "critical" && is_wp_error()212–215get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), __(), get_plugin_updates(), __(), network_admin_url(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && get_plugin_updates() && $type === "critical" && is_wp_error()212–215get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), get_plugin_updates(), __(), network_admin_url(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), ->get_error_data(), ->get_error_data(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && get_plugin_updates() && is_wp_error()213–215get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), __(), get_plugin_updates(), __(), network_admin_url(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && get_plugin_updates() && is_wp_error()213–214get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), get_plugin_updates(), __(), network_admin_url(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), ->get_error_data(), ->get_error_data(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && !get_theme_updates() && $type === "critical" && is_wp_error()215–218get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), ->get_error_data(), ->get_error_data(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && get_theme_updates() && $type === "critical" && is_wp_error()215–218get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), network_admin_url(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && get_theme_updates() && $type === "critical" && is_wp_error()215–218get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), network_admin_url(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), ->get_error_data(), ->get_error_data(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && get_plugin_updates() && $type === "critical" && is_wp_error()216–220get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), get_plugin_updates(), __(), network_admin_url(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), ->get_error_data(), ->get_error_data(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && !get_theme_updates() && is_wp_error()216–218get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), ->get_error_data(), ->get_error_data(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && get_theme_updates() && is_wp_error()216–218get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), network_admin_url(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && get_theme_updates() && is_wp_error()216–217get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), get_plugin_updates(), get_theme_updates(), __(), network_admin_url(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), ->get_error_data(), ->get_error_data(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && get_plugin_updates() && is_wp_error()217–219get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), get_plugin_updates(), __(), network_admin_url(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), ->get_error_data(), ->get_error_data(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && get_theme_updates() && $type === "critical" && is_wp_error()219–223get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), network_admin_url(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), ->get_error_data(), ->get_error_data(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && get_theme_updates() && is_wp_error()220–222get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), get_plugin_updates(), get_theme_updates(), __(), network_admin_url(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), ->get_error_data(), ->get_error_data(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && get_plugin_updates() && $type === "critical" && is_wp_error()221–224get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), __(), get_plugin_updates(), __(), network_admin_url(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), ->get_error_data(), ->get_error_data(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && get_plugin_updates() && is_wp_error()222–224get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), __(), get_plugin_updates(), __(), network_admin_url(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), ->get_error_data(), ->get_error_data(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && get_theme_updates() && $type === "critical" && is_wp_error()224–227get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), __(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), network_admin_url(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), ->get_error_data(), ->get_error_data(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()
$type === "manual" && !get_plugin_updates() && get_theme_updates() && is_wp_error()225–227get_site_option(), time(), type(), get_preferred_from_update_core(), __(), get_option(), wp_specialchars_decode(), sprintf(), __(), home_url(), sprintf(), explode(), __(), sprintf(), admin_url(), __(), sprintf(), __(), __(), get_plugin_updates(), get_theme_updates(), __(), network_admin_url(), __(), is_wp_error(), __(), get_bloginfo(), sprintf(), __(), __(), ->get_error_code(), ->get_error_data(), ->get_error_data(), get_site_option(), compact(), apply_filters(), wp_specialchars_decode(), wp_mail()

This body has more branch combinations than are worth enumerating, so the table covers the outcomes found first rather than every one that exists.

Across PHP versions

PHPCompiledExecutedBranchesNotes
8.6-dev424155–22739
8.5424155–22739
8.4424155–227393 fewer instructions than PHP 8.3
8.3427155–22739
8.2427155–227391 more instruction than PHP 8.1
8.1426155–227391 fewer instruction than PHP 7.4
7.4427156–22839

An instruction is not a fixed amount of time, so a matching count is not necessarily the same speed; what it rules out is a difference in the work itself.

Hooks and filters fired · 2

2 hooks fire while WP_Automatic_Updater::send_email() runs, in this order:

  1. apply_filters( auto_core_update_send_email )filterline 935 (+37 into the body)

    Filters whether to send an email following an automatic background core update.

  2. apply_filters( auto_core_update_email )filterline 1139 (+241 into the body)

    Filters the email sent following an automatic background core update.

Uses · 15

Show all 15
  • is_wp_error()Checks whether the given variable is a WordPress Error.
  • get_bloginfo()Retrieves information about the current site.
  • wp_mail()Sends an email, similar to PHP's mail function.

Used by · 2

Source code

	protected function send_email( $type, $core_update, $result = null ) {		update_site_option(			'auto_core_update_notified',			array(				'type'      => $type,				'email'     => get_site_option( 'admin_email' ),				'version'   => $core_update->current,				'timestamp' => time(),			)		); 		$next_user_core_update = get_preferred_from_update_core(); 		// If the update transient is empty, use the update we just performed.		if ( ! $next_user_core_update ) {			$next_user_core_update = $core_update;		} 		if ( 'upgrade' === $next_user_core_update->response			&& version_compare( $next_user_core_update->version, $core_update->version, '>' )		) {			$newer_version_available = true;		} else {			$newer_version_available = false;		} 		/**		 * Filters whether to send an email following an automatic background core update.		 *		 * @since 3.7.0		 *		 * @param bool   $send        Whether to send the email. Default true.		 * @param string $type        The type of email to send. Can be one of		 *                            'success', 'fail', 'critical'.		 * @param object $core_update The update offer that was attempted.		 * @param mixed  $result      The result for the core update. Can be WP_Error.		 */		if ( 'manual' !== $type && ! apply_filters( 'auto_core_update_send_email', true, $type, $core_update, $result ) ) {			return;		} 		switch ( $type ) {			case 'success': // We updated.				/* translators: Site updated notification email subject. 1: Site title, 2: WordPress version. */				$subject = __( '[%1$s] Your site has updated to WordPress %2$s' );				break; 			case 'fail':   // We tried to update but couldn't.			case 'manual': // We can't update (and made no attempt).				/* translators: Update available notification email subject. 1: Site title, 2: WordPress version. */				$subject = __( '[%1$s] WordPress %2$s is available. Please update!' );				break; 			case 'critical': // We tried to update, started to copy files, then things went wrong.				/* translators: Site down notification email subject. 1: Site title. */				$subject = __( '[%1$s] URGENT: Your site may be down due to a failed update' );				break; 			default:				return;		} 		// If the auto-update is not to the latest version, say that the current version of WP is available instead.		$version = 'success' === $type ? $core_update->current : $next_user_core_update->current;		$subject = sprintf( $subject, wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ), $version ); 		$body = ''; 		switch ( $type ) {			case 'success':				$body .= sprintf(					/* translators: 1: Home URL, 2: WordPress version. */					__( 'Howdy! Your site at %1$s has been updated automatically to WordPress %2$s.' ),					home_url(),					$core_update->current				);				$body .= "\n\n";				if ( ! $newer_version_available ) {					$body .= __( 'No further action is needed on your part.' ) . ' ';				}

Changelog

Introduced in 3.7.0. Unchanged from 6.7.7 through 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

About this page

Parsed data
Generated from the wordpress-develop 6.7.7 tag, from src/wp-admin/includes/class-wp-automatic-updater.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.