From 13b1b4bed316f9caf7276a4c75c1d1078b700ed9 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 19 Oct 2020 13:22:07 +0000 Subject: [PATCH] Docs: Add a `@deprecated` note to `WP_Community_Events::format_event_data_time()`. Follow-up to [49146]. See #51130. Built from https://develop.svn.wordpress.org/trunk@49201 git-svn-id: http://core.svn.wordpress.org/trunk@48963 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-community-events.php | 3 ++- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/class-wp-community-events.php b/wp-admin/includes/class-wp-community-events.php index 35708547af..40807712cf 100644 --- a/wp-admin/includes/class-wp-community-events.php +++ b/wp-admin/includes/class-wp-community-events.php @@ -370,6 +370,7 @@ class WP_Community_Events { * of the user who triggered the cache refresh, rather than their own. * * @since 4.8.0 + * @deprecated 5.6.0 No longer used in core. * * @param array $response_body The response which contains the events. * @return array The response with dates and times formatted. @@ -378,7 +379,7 @@ class WP_Community_Events { _deprecated_function( __METHOD__, '5.5.2', - 'This is no longer used by Core, and only kept for backwards-compatibility.' + 'This is no longer used by core, and only kept for backward compatibility.' ); if ( isset( $response_body['events'] ) ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index d7c160dd9a..921559251c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-alpha-49200'; +$wp_version = '5.6-alpha-49201'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.