// Updates are important!
if ( 'success' !==
$type ||
$newer_version_available ) { $body .= "\n\n" .
__( 'Keeping your site updated is important for security. It also makes the internet a safer place for you and your readers.'
);
} if ( $critical_support ) { $body .= ' ' .
__( "Reach out to WordPress Core developers to ensure you'll never have this problem again."
);
} // If things are successful and we're now on the latest, mention plugins and themes if any are out of date.
if ( 'success' ===
$type && !
$newer_version_available && ( get_plugin_updates() ||
get_theme_updates() ) ) { $body .= "\n\n" .
__( 'You also have some plugins or themes with updates available. Update them now:'
);
$body .= "\n" .
network_admin_url();
} $body .= "\n\n" .
__( 'The WordPress Team'
) . "\n";
if ( 'critical' ===
$type &&
is_wp_error( $result ) ) { $body .= "\n***\n\n";
/* translators: %s: WordPress version. */
$body .=
sprintf( __( 'Your site was running version %s.'
),
get_bloginfo( 'version'
) );
$body .= ' ' .
__( 'Some data that describes the error your site encountered has been put together.'
);