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
This commit is contained in:
Sergey Biryukov 2020-10-19 13:22:07 +00:00
parent a08fd6ff6f
commit 13b1b4bed3
2 changed files with 3 additions and 2 deletions

View File

@ -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'] ) ) {

View File

@ -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.