diff --git a/includes/class-stats.php b/includes/class-stats.php index b0f7d08628f..9d4b6792f66 100644 --- a/includes/class-stats.php +++ b/includes/class-stats.php @@ -2756,7 +2756,7 @@ private function set_date_ranges() { $date_filters = Reports\get_dates_filter_options(); foreach ( $date_filters as $range => $label ) { - $this->date_ranges[ $range ] = Reports\parse_dates_for_range( $date, $range ); + $this->date_ranges[ $range ] = Reports\parse_dates_for_range( $range ); switch ( $range ) { case 'this_month':