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
This commit is contained in:
parent
86fc3af215
commit
4362706c10
|
@ -370,6 +370,7 @@ class WP_Community_Events {
|
||||||
* of the user who triggered the cache refresh, rather than their own.
|
* of the user who triggered the cache refresh, rather than their own.
|
||||||
*
|
*
|
||||||
* @since 4.8.0
|
* @since 4.8.0
|
||||||
|
* @deprecated 5.6.0 No longer used in core.
|
||||||
*
|
*
|
||||||
* @param array $response_body The response which contains the events.
|
* @param array $response_body The response which contains the events.
|
||||||
* @return array The response with dates and times formatted.
|
* @return array The response with dates and times formatted.
|
||||||
|
@ -378,7 +379,7 @@ class WP_Community_Events {
|
||||||
_deprecated_function(
|
_deprecated_function(
|
||||||
__METHOD__,
|
__METHOD__,
|
||||||
'5.5.2',
|
'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'] ) ) {
|
if ( isset( $response_body['events'] ) ) {
|
||||||
|
|
Loading…
Reference in New Issue