- Timestamp:
- 08/13/2020 08:23:45 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/api.wordpress.org/public_html/events/1.0/index.php
r10165 r10167 730 730 } 731 731 732 $wheres = array(); 732 $wheres = array( 733 /* 734 * This group is online-only events, and `pin_next_workshop_discussion_group()` will take care of adding 735 * them to the event array. Meetup.com requires groups to claim a physical location, so this one uses 736 * San Francisco. 737 * 738 * If these events weren't excluded here, then people in San Francisco would get them mixed in with their 739 * actual local meetup events, and the local events would often be pushed out of the widget. 740 * 741 * @todo This do mean that non-Core requests will never see events from this group, but there isn't a 742 * tangible use case for that yet. We could maybe support an `online` value for the `location` parameter 743 * in the future if that's desired. If we do that, the Codex documentation should be updated. 744 */ 745 "meetup_url <> 'https://www.meetup.com/learn-wordpress-discussions/' " 746 ); 747 733 748 if ( ! empty( $args['type'] ) && in_array( $args['type'], array( 'meetup', 'wordcamp' ) ) ) { 734 749 $wheres[] = '`type` = %s';
Note: See TracChangeset
for help on using the changeset viewer.