Make WordPress Core

Changeset 42826


Ignore:
Timestamp:
03/11/2018 10:34:10 AM (7 years ago)
Author:
SergeyBiryukov
Message:

Docs: Fix typo in a comment in WP_Community_Events::trim_events().

See #42505.

File:
1 edited

Legend:

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

    r42728 r42826  
    457457            $trimmed_event_types     = wp_list_pluck( $response_body['events'], 'type' );
    458458
    459             // Make sure the soonest upcoming WordCamps is pinned in the list.
     459            // Make sure the soonest upcoming WordCamp is pinned in the list.
    460460            if ( ! in_array( 'wordcamp', $trimmed_event_types ) && $wordcamps ) {
    461461                array_pop( $response_body['events'] );
Note: See TracChangeset for help on using the changeset viewer.