Skip to content

Commit

Permalink
Bump min PHP, WC and WP versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
anderly committed Jul 23, 2019
1 parent baf0803 commit aee71a0
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@ sudo: false
dist: trusty

php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
# - 7.3
- 7.3

env:
- WP_VERSION=latest WC_VERSION=latest WC_BRANCH=master WP_MULTISITE=0
Expand Down
8 changes: 4 additions & 4 deletions includes/class-ss-wc-mailchimp-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ final class SS_WC_MailChimp_Plugin {
*
* @var string
*/
private static $version = '2.1.21';
private static $version = '2.2.0';

/**
* Plugin singleton instance
Expand Down Expand Up @@ -316,13 +316,13 @@ public function mailchimp( $api_key = null, $debug = false ) {
private function define_constants() {

// Minimum supported version of WordPress.
$this->define( 'SS_WC_MAILCHIMP_MIN_WP_VERSION', '3.5.1' );
$this->define( 'SS_WC_MAILCHIMP_MIN_WP_VERSION', '4.7.0' );

// Minimum supported version of WooCommerce.
$this->define( 'SS_WC_MAILCHIMP_MIN_WC_VERSION', '2.2.0' );
$this->define( 'SS_WC_MAILCHIMP_MIN_WC_VERSION', '3.5.0' );

// Minimum supported version of PHP.
$this->define( 'SS_WC_MAILCHIMP_MIN_PHP_VERSION', '5.4.0' );
$this->define( 'SS_WC_MAILCHIMP_MIN_PHP_VERSION', '5.6.0' );

// Plugin version.
$this->define( 'SS_WC_MAILCHIMP_VERSION', self::version() );
Expand Down
10 changes: 7 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
Contributors: saintsystems, anderly
Donate link: http://ssms.us/hVdk
Tags: woocommerce, mailchimp
Requires at least: 3.5.1
Requires at least: 4.7.0
Tested up to: 5.2.2
WC tested up to: 3.6.5
Stable tag: 2.1.21
Stable tag: 2.2.0
License: GPLv3

Simple and flexible MailChimp integration for WooCommerce.
Expand Down Expand Up @@ -73,7 +73,7 @@ If no custom translations are present, languages will be loaded in the following

= Requirements =

WooCommerce MailChimp requires PHP 5.4+ (PHP 7.0+ recommended). You'll also need to be running WordPress 3.5.1+ and have WooCommerce 2.2+.
WooCommerce MailChimp requires PHP 5.6+ (PHP 7.0+ recommended). You'll also need to be running WordPress 4.7.0+ and have WooCommerce 3.5.0+.

= Documentation & Support =

Expand Down Expand Up @@ -114,6 +114,10 @@ Also, if you enjoy using the software [we'd love it if you could give us a revie

== Changelog ==

#### 2.2.0 - July 23, 2019
- Bump min WC version to 3.5.0, and min WP version to 4.7.0.
- Bump min PHP version to 5.6 in prep for WooCoommerce 3.7 requirements.

#### 2.1.21 - July 23, 2019
- Prep for getting list tags.

Expand Down
2 changes: 1 addition & 1 deletion woocommerce-mailchimp.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: WooCommerce MailChimp provides simple MailChimp integration for WooCommerce.
* Author: Saint Systems
* Author URI: https://www.saintsystems.com
* Version: 2.1.21
* Version: 2.2.0
* WC tested up to: 3.6.5
* Text Domain: woocommerce-mailchimp
* Domain Path: languages
Expand Down

0 comments on commit aee71a0

Please sign in to comment.