diff --git a/src/wp-admin/includes/class-wp-community-events.php b/src/wp-admin/includes/class-wp-community-events.php index 77bf34d813..2237ab34e4 100644 --- a/src/wp-admin/includes/class-wp-community-events.php +++ b/src/wp-admin/includes/class-wp-community-events.php @@ -395,7 +395,7 @@ class WP_Community_Events { * higher position, so that it doesn't get trimmed off. * * @since 4.8.0 - * @since 5.0.0 Stick a WordCamp to the final list. + * @since 4.9.7 Stick a WordCamp to the final list. * * @param array $response_body The response body which contains the events. * @return array The response body with events trimmed. diff --git a/tests/phpunit/tests/admin/includesCommunityEvents.php b/tests/phpunit/tests/admin/includesCommunityEvents.php index 0de7f0ab06..911d052f3c 100644 --- a/tests/phpunit/tests/admin/includesCommunityEvents.php +++ b/tests/phpunit/tests/admin/includesCommunityEvents.php @@ -261,7 +261,7 @@ class Test_WP_Community_Events extends WP_UnitTestCase { /** * Test: get_events() should return the events with the WordCamp pinned in the prepared list. * - * @since 5.0.0 + * @since 4.9.7 */ public function test_get_events_pin_wordcamp() { add_filter( 'pre_http_request', array( $this, '_http_request_valid_response_unpinned_wordcamp' ) ); @@ -283,7 +283,7 @@ class Test_WP_Community_Events extends WP_UnitTestCase { /** * Simulates a valid HTTP response where a WordCamp needs to be pinned higher than it's default position. * - * @since 5.0.0 + * @since 4.9.7 * * @return array A mock HTTP response. */ @@ -363,7 +363,7 @@ class Test_WP_Community_Events extends WP_UnitTestCase { * Test: get_events() shouldn't stick an extra WordCamp when there's already one that naturally * falls into the list. * - * @since 5.0.0 + * @since 4.9.7 */ public function test_get_events_dont_pin_multiple_wordcamps() { add_filter( 'pre_http_request', array( $this, '_http_request_valid_response_multiple_wordcamps' ) ); @@ -386,7 +386,7 @@ class Test_WP_Community_Events extends WP_UnitTestCase { * Simulates a valid HTTP response where a WordCamp needs to be pinned higher than it's default position. * no need to pin extra camp b/c one already exists in response * - * @since 5.0.0 + * @since 4.9.7 * * @return array A mock HTTP response. */