From 92673e251e46f0a4fa8909106163e76a3371afb4 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 17 Dec 2022 15:31:17 +0000 Subject: [PATCH] Site Health: Remove the WordPress 5.2 reference from the email sent on fatal errors. The version reference was initially added to reduce confusion and make it clear that this is new WordPress functionality, with the website itself sending an automated notification of a fatal error, most likely in a plugin or theme. Almost four years and several major releases later, it no longer adds any helpful information and can be removed. Follow-up to [44973], [45181], [45268]. Props NekoJonez, jb510, peterwilsoncc, kebbet, mukesh27, mrwweb, johnbillion, SergeyBiryukov. Fixes #57327. See #54961. Built from https://develop.svn.wordpress.org/trunk@55001 git-svn-id: http://core.svn.wordpress.org/trunk@54534 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-recovery-mode-email-service.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/class-wp-recovery-mode-email-service.php b/wp-includes/class-wp-recovery-mode-email-service.php index 013901f90e..14dbbf9c4c 100644 --- a/wp-includes/class-wp-recovery-mode-email-service.php +++ b/wp-includes/class-wp-recovery-mode-email-service.php @@ -158,7 +158,7 @@ final class WP_Recovery_Mode_Email_Service { $message = __( 'Howdy! -Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email. +WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email. ###CAUSE### First, visit your website (###SITEURL###) and check for any visible issues. Next, visit the page where the error was caught (###PAGEURL###) and check for any visible issues. diff --git a/wp-includes/version.php b/wp-includes/version.php index 65693afab4..3864ee9237 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-alpha-55000'; +$wp_version = '6.2-alpha-55001'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.