Skip to content

Commit

Permalink
Remove date param from parse_dates_for_range call
Browse files Browse the repository at this point in the history
  • Loading branch information
mintplugins committed Nov 4, 2019
1 parent d9b7159 commit c38c778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-stats.php
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit c38c778

Please sign in to comment.