Make WordPress Core

Changeset 43356


Ignore:
Timestamp:
06/16/2018 10:38:27 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Docs: Update @since versions in Community Events class added in [42726].

See #41112.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-community-events.php

    r42971 r43356  
    396396     *
    397397     * @since 4.8.0
    398      * @since 5.0.0 Stick a WordCamp to the final list.
     398     * @since 4.9.7 Stick a WordCamp to the final list.
    399399     *
    400400     * @param  array $response_body The response body which contains the events.
  • trunk/tests/phpunit/tests/admin/includesCommunityEvents.php

    r42971 r43356  
    262262     * Test: get_events() should return the events with the WordCamp pinned in the prepared list.
    263263     *
    264      * @since 5.0.0
     264     * @since 4.9.7
    265265     */
    266266    public function test_get_events_pin_wordcamp() {
     
    284284     * Simulates a valid HTTP response where a WordCamp needs to be pinned higher than it's default position.
    285285     *
    286      * @since 5.0.0
     286     * @since 4.9.7
    287287     *
    288288     * @return array A mock HTTP response.
     
    364364     * falls into the list.
    365365     *
    366      * @since 5.0.0
     366     * @since 4.9.7
    367367     */
    368368    public function test_get_events_dont_pin_multiple_wordcamps() {
     
    387387     * no need to pin extra camp b/c one already exists in response
    388388     *
    389      * @since 5.0.0
     389     * @since 4.9.7
    390390     *
    391391     * @return array A mock HTTP response.
Note: See TracChangeset for help on using the changeset viewer.