From 4362706c10e5c105dd38e5423602726152173cb3 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 19 Oct 2020 13:20:50 +0000 Subject: [PATCH] Docs: Add a `@deprecated` note to `WP_Community_Events::format_event_data_time()`. Follow-up to [49146]. See #51130. git-svn-id: https://develop.svn.wordpress.org/trunk@49201 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-community-events.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wp-admin/includes/class-wp-community-events.php b/src/wp-admin/includes/class-wp-community-events.php index 35708547af..40807712cf 100644 --- a/src/wp-admin/includes/class-wp-community-events.php +++ b/src/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'] ) ) {