Skip to content

Commit

Permalink
Merge pull request #416 from wpCloud/latest
Browse files Browse the repository at this point in the history
Latest v2.3.1
  • Loading branch information
Md. Alimuzzaman Alim authored Nov 19, 2019
2 parents 04ce78b + 49521f1 commit f324f72
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 13 deletions.
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
== Changelog ==
= 2.3.1 =
* Fix - Fixed fatal error, undefined function `is_wp_version_compatible`. GitHub issue [#414](https://github.com/wpCloud/wp-stateless/issues/414).

= 2.3.0 =
* FIX - Fixed problem with WordPress 5.3. GitHub issue [#406](https://github.com/wpCloud/wp-stateless/issues/406).
* FIX - Fixed problem with the Cache Busting feature. GitHub issue [#377](https://github.com/wpCloud/wp-stateless/issues/377).
Expand Down
3 changes: 3 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#### 2.3.1 ####
* Fix - Fixed fatal error, undefined function `is_wp_version_compatible`. GitHub issue [#414](https://github.com/wpCloud/wp-stateless/issues/414).

#### 2.3.0 ####
* FIX - Fixed problem with WordPress 5.3. GitHub issue [#406](https://github.com/wpCloud/wp-stateless/issues/406).
* FIX - Fixed problem with the Cache Busting feature. GitHub issue [#377](https://github.com/wpCloud/wp-stateless/issues/377).
Expand Down
4 changes: 2 additions & 2 deletions lib/classes/class-bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ final class Bootstrap extends \UsabilityDynamics\WP\Bootstrap_Plugin {
* @property $version
* @type {Object}
*/
public static $version = '2.3';
public static $version = '2.3.1';

/**
* Singleton Instance Reference.
Expand Down Expand Up @@ -209,7 +209,7 @@ public function init() {
if($this->get( 'sm.mode' ) === 'stateless'){
// Store attachment id in a static variable on 'intermediate_image_sizes_advanced' filter.
// Utility::store_can_delete_attachment();
if(is_wp_version_compatible('5.3-RC4-46673')){
if(function_exists('is_wp_version_compatible') && is_wp_version_compatible('5.3-RC4-46673')){
add_filter( 'intermediate_image_sizes_advanced', array($this, 'store_can_delete_attachment'), 10, 3 );
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "wp-stateless",
"title": "WP-Stateless",
"description": "wpCloud Stateless Media for GCE",
"version": "2.3.0",
"version": "2.3.1",
"homepage": "https://usabilitydynamics.com",
"author": {
"name": "UsabilityDynamics, Inc.",
Expand Down
14 changes: 5 additions & 9 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ License: GPLv2 or later
Requires PHP: 5.5
Requires at least: 4.0
Tested up to: 5.3
Stable tag: 2.3.0
Stable tag: 2.3.1

Upload and serve your WordPress media files from Google Cloud Storage.

Expand Down Expand Up @@ -100,16 +100,12 @@ To ensure new releases cause as little disruption as possible, we rely on a numb


== Upgrade Notice ==
= 2.3.0 =
* FIX - Fixed problem with WordPress 5.3. GitHub issue [#406](https://github.com/wpCloud/wp-stateless/issues/406).
* FIX - Fixed problem with the Cache Busting feature. GitHub issue [#377](https://github.com/wpCloud/wp-stateless/issues/377).
* COMPATIBILITY - Added compatibility support for WP Retina 2x pro. GitHub issue [#380](https://github.com/wpCloud/wp-stateless/issues/380).
* COMPATIBILITY - Enhanced compatibility support for LiteSpeed Cache. GitHub issue [#365](https://github.com/wpCloud/wp-stateless/issues/365).
* COMPATIBILITY - Enhanced compatibility support for ShortPixel Image Optimizer. GitHub issue [#364](https://github.com/wpCloud/wp-stateless/issues/364), [#398](https://github.com/wpCloud/wp-stateless/issues/398).
* COMPATIBILITY - Fixed Gravity Form export. GitHub issue [#408](https://github.com/wpCloud/wp-stateless/issues/408).
* ENHANCEMENT - Improved upon add_media function for better compatibility support. GitHub issue [#382](https://github.com/wpCloud/wp-stateless/issues/382).
Fixed fatal error, undefined function `is_wp_version_compatible`.

== Changelog ==
= 2.3.1 =
* Fix - Fixed fatal error, undefined function `is_wp_version_compatible`. GitHub issue [#414](https://github.com/wpCloud/wp-stateless/issues/414).

= 2.3.0 =
* FIX - Fixed problem with WordPress 5.3. GitHub issue [#406](https://github.com/wpCloud/wp-stateless/issues/406).
* FIX - Fixed problem with the Cache Busting feature. GitHub issue [#377](https://github.com/wpCloud/wp-stateless/issues/377).
Expand Down
2 changes: 1 addition & 1 deletion wp-stateless-media.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Plugin URI: https://www.usabilitydynamics.com
* Description: Upload and serve your WordPress media files from Google Cloud Storage.
* Author: Usability Dynamics, Inc.
* Version: 2.3.0
* Version: 2.3.1
* Text Domain: stateless-media
* Author URI: https://www.usabilitydynamics.com
*
Expand Down

0 comments on commit f324f72

Please sign in to comment.