Making WordPress.org


Ignore:
Timestamp:
07/27/2021 06:44:12 PM (5 years ago)
Author:
iandunn
Message:

Official WP Events: Clarify debugging output.

The initial assignment to $this->debug was removed because it's always overwritten in the constructor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/official-wordpress-events/official-wordpress-events.php

    r10417 r11153  
    304304        $events = $this->parse_wordcamp_events( $response );
    305305
    306         $this->log( sprintf( 'returning %d events', count( $events ) ) );
     306        $this->log( sprintf( 'returning %d WordCamp events', count( $events ) ) );
    307307
    308308        return $events;
     
    567567            return $events;
    568568        }
     569
     570        $this->log( sprintf( 'received %d meetup groups', count( $groups ) ) );
    569571
    570572        $yesterday    = date( 'c', strtotime( '-1 day' ) );
     
    588590        $events = $this->parse_meetup_events( $meetups );
    589591
    590         $this->log( sprintf( 'returning %d events', count( $events ) ) );
     592        $this->log( sprintf( 'returning %d meetup events', count( $events ) ) );
    591593
    592594        return $events;
Note: See TracChangeset for help on using the changeset viewer.