Changeset 9614 for sites/trunk/wordpress.org/public_html/wp-content/plugins/official-wordpress-events/official-wordpress-events.php
- Timestamp:
- 03/20/2020 09:46:16 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/official-wordpress-events/official-wordpress-events.php
r9171 r9614 281 281 // Note: With the number of WordCamps per year growing fast, we may need to batch requests in the near future, like we do for meetups. 282 282 $request_url = add_query_arg( array( 283 'status' => array( 'wcpt-scheduled', 'wcpt- cancelled' ),283 'status' => array( 'wcpt-scheduled', 'wcpt-pre-planning', 'wcpt-cancelled' ), 284 284 'per_page' => 100, 285 285 ), self::WORDCAMP_API_BASE_URL . 'wp/v2/wordcamps' ); … … 311 311 $event = array( 312 312 'source_id' => $wordcamp->id, 313 'status' => 'wcpt-scheduled' === $wordcamp->status ? 'scheduled' : 'cancelled',313 'status' => str_replace( 'wcpt-', '', $wordcamp->status ), 314 314 'type' => 'wordcamp', 315 315 'title' => $wordcamp->title->rendered,
Note: See TracChangeset
for help on using the changeset viewer.