Skip to content

Commit

Permalink
Merge pull request #51 from TheCraigHewitt/release/1.2.4
Browse files Browse the repository at this point in the history
Release/1.2.4
  • Loading branch information
jonathanbossenger authored Aug 7, 2019
2 parents e35103c + 7204721 commit 864df8e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions php/classes/class-all-episode-stats.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ public function __construct() {
$this->table = $wpdb->prefix . 'ssp_stats';
$this->dates = array(
intval( current_time( 'm' ) ) => current_time( 'F' ),
intval( date( 'm', strtotime( current_time( 'Y-m-d' ) . ' -1 MONTH' ) ) ) => date( 'F', strtotime( current_time( "Y-m-d" ) . '-1 MONTH' ) ),
intval( date( 'm', strtotime( current_time( 'Y-m-d' ) . ' -2 MONTH' ) ) ) => date( 'F', strtotime( current_time( "Y-m-d" ) . '-2 MONTH' ) ),
intval( date( 'm', strtotime( current_time( 'Y-m-d' ) . 'FIRST DAY OF -1 MONTH' ) ) ) => date( 'F', strtotime( current_time( "Y-m-d" ) . 'FIRST DAY OF -1 MONTH' ) ),
intval( date( 'm', strtotime( current_time( 'Y-m-d' ) . 'FIRST DAY OF -2 MONTH' ) ) ) => date( 'F', strtotime( current_time( "Y-m-d" ) . 'FIRST DAY OF -2 MONTH' ) ),
);
}

Expand Down
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: PodcastMotor, psykro, simondowdles, hlashbrooke, seriouspodcaster
Tags: seriously simple podcasting, stats, statistics, listeners, analytics, podcast, podcasting, ssp, free, add-ons, extensions, addons
Requires at least: 4.4
Tested up to: 5.1.1
Stable tag: 1.2.3
Stable tag: 1.2.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -78,6 +78,10 @@ Yes. This plugin uses the [Crawler Detect](https://github.com/JayBizzle/Crawler-

== Changelog ==

= 1.2.4 =
* 2018-07-31
* [FIX] Fixed a PHP warning which only occurs on the last day of the month

= 1.2.3 =
* 2018-07-10
* [NEW] Added the ability to sort the "All Episodes for the Last Three Months" Stats data
Expand Down
4 changes: 2 additions & 2 deletions seriously-simple-stats.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/*
* Plugin Name: Seriously Simple Stats
* Version: 1.2.3
* Version: 1.2.4
* Plugin URI: https://wordpress.org/plugins/seriously-simple-stats
* Description: Integrated analytics and stats tracking for Seriously Simple Podcasting.
* Author: Castos
Expand Down Expand Up @@ -29,7 +29,7 @@

require_once 'vendor/autoload.php';

define( 'SSP_STATS_VERSION', '1.2.3' );
define( 'SSP_STATS_VERSION', '1.2.4' );
define( 'SSP_STATS_DIR_PATH', trailingslashit( plugin_dir_path( __FILE__ ) ) );

if ( ! function_exists( 'is_ssp_active' ) ) {
Expand Down

0 comments on commit 864df8e

Please sign in to comment.