mirror of
git://develop.git.wordpress.org/
synced 2025-02-22 07:35:46 +01:00
Docs: Update @since
versions in Community Events class added in [42726].
See #41112. git-svn-id: https://develop.svn.wordpress.org/trunk@43356 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1476007240
commit
4d5b00da46
@ -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.
|
||||
|
@ -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.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user