WordPress.org

Make WordPress Core

Changeset 49152


Ignore:
Timestamp:
10/14/2020 09:33:10 PM (8 months ago)
Author:
iandunn
Message:

Community Events: Update timezone-related @since tags to 5.5.2.

r49145 and r49146 were originally planned for 5.6 when they were committed, but are now planned for 5.5.2.

See #51130.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/js/_enqueues/wp/dashboard.js

    r49151 r49152  
    624624         * the user's current time zone, locale, etc.
    625625         *
    626          * @since 5.6.0
     626         * @since 5.5.2
    627627         *
    628628         * @param {Array}  rawEvents  The events that should have dynamic fields added to them.
     
    659659         * Returns the user's local/browser time zone, in a form suitable for `wp.date.i18n()`.
    660660         *
    661          * @since 5.6.0
     661         * @since 5.5.2
    662662         *
    663663         * @param startTimestamp
     
    694694         * See https://stackoverflow.com/questions/21102435/why-does-javascript-date-gettimezoneoffset-consider-0500-as-a-positive-off.
    695695         *
    696          * @since 5.6.0
     696         * @since 5.5.2
    697697         *
    698698         * @param {number} startTimestamp
     
    707707         * Get a short time zone name, like `PST`.
    708708         *
    709          * @since 5.6.0
     709         * @since 5.5.2
    710710         *
    711711         * @param {number} startTimestamp
     
    749749         * Format a start/end date in the user's local time zone and locale.
    750750         *
    751          * @since 5.6.0
     751         * @since 5.5.2
    752752         *
    753753         * @param {int}    startDate   The Unix timestamp in milliseconds when the the event starts.
  • trunk/src/wp-admin/includes/class-wp-community-events.php

    r49146 r49152  
    7878     *
    7979     * @since 4.8.0
    80      * @since 5.6.0 Response no longer contains formatted date field. They're added
     80     * @since 5.5.2 Response no longer contains formatted date field. They're added
    8181     *              in `wp.communityEvents.populateDynamicEventFields()` now.
    8282     *
     
    346346     *
    347347     * @since 4.8.0
    348      * @since 5.6.0 Response no longer contains formatted date field. They're added
     348     * @since 5.5.2 Response no longer contains formatted date field. They're added
    349349     *              in `wp.communityEvents.populateDynamicEventFields()` now.
    350350     *
     
    378378        _deprecated_function(
    379379            __METHOD__,
    380             '5.6.0',
     380            '5.5.2',
    381381            'This is no longer used by Core, and only kept for backwards-compatibility.'
    382382        );
     
    452452     * @since 4.8.0
    453453     * @since 4.9.7 Stick a WordCamp to the final list.
    454      * @since 5.6.0 Accepts and returns only the events, rather than an entire HTTP response.
     454     * @since 5.5.2 Accepts and returns only the events, rather than an entire HTTP response.
    455455     *
    456456     * @param array $events The events that will be prepared.
  • trunk/tests/phpunit/tests/admin/includesCommunityEvents.php

    r49147 r49152  
    281281     * @covers WP_Community_Events::trim_events
    282282     *
    283      * @since 5.6.0
     283     * @since 5.5.2
    284284     */
    285285    public function test_trim_expired_events() {
     
    310310     *
    311311     * @since 4.9.7
    312      * @since 5.6.0 Tests `trim_events()` directly instead of indirectly via `get_events()`.
     312     * @since 5.5.2 Tests `trim_events()` directly instead of indirectly via `get_events()`.
    313313     */
    314314    public function test_trim_events_pin_wordcamp() {
     
    332332     *
    333333     * @since 4.9.7
    334      * @since 5.6.0 Accepts and returns only the events, rather than an entire HTTP response.
     334     * @since 5.5.2 Accepts and returns only the events, rather than an entire HTTP response.
    335335     *
    336336     * @return array A list of mock events.
     
    415415     *
    416416     * @since 4.9.7
    417      * @since 5.6.0 Tests `trim_events()` directly instead of indirectly via `get_events()`.
     417     * @since 5.5.2 Tests `trim_events()` directly instead of indirectly via `get_events()`.
    418418     */
    419419    public function test_trim_events_dont_pin_multiple_wordcamps() {
     
    438438     *
    439439     * @since 4.9.7
    440      * @since 5.6.0 Tests `trim_events()` directly instead of indirectly via `get_events()`.
     440     * @since 5.5.2 Tests `trim_events()` directly instead of indirectly via `get_events()`.
    441441     *
    442442     * @return array A mock HTTP response.
Note: See TracChangeset for help on using the changeset viewer.