Changeset 11153
- Timestamp:
- 07/27/2021 06:44:12 PM (23 months ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins/official-wordpress-events
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/official-wordpress-events/meetup/class-meetup-client.php
r9958 r11153 33 33 * @var bool If true, the client will fetch fewer results, for faster debugging. 34 34 */ 35 protected $debug = false;35 protected $debug; 36 36 37 37 /** … … 165 165 } 166 166 167 if ( $this->debug ) { 167 if ( $request_url && $this->debug ) { 168 if ( 'cli' === php_sapi_name() ) { 169 echo "\nDebug mode: Skipping future paginated requests to $request_url"; 170 } 171 168 172 break; 169 173 } -
sites/trunk/wordpress.org/public_html/wp-content/plugins/official-wordpress-events/official-wordpress-events.php
r10417 r11153 304 304 $events = $this->parse_wordcamp_events( $response ); 305 305 306 $this->log( sprintf( 'returning %d events', count( $events ) ) );306 $this->log( sprintf( 'returning %d WordCamp events', count( $events ) ) ); 307 307 308 308 return $events; … … 567 567 return $events; 568 568 } 569 570 $this->log( sprintf( 'received %d meetup groups', count( $groups ) ) ); 569 571 570 572 $yesterday = date( 'c', strtotime( '-1 day' ) ); … … 588 590 $events = $this->parse_meetup_events( $meetups ); 589 591 590 $this->log( sprintf( 'returning %d events', count( $events ) ) );592 $this->log( sprintf( 'returning %d meetup events', count( $events ) ) ); 591 593 592 594 return $events;
Note: See TracChangeset
for help on using the changeset viewer.