Skip to content

Commit

Permalink
Merge pull request #434 from wpCloud/develop-alim
Browse files Browse the repository at this point in the history
Develop alim
  • Loading branch information
Md. Alimuzzaman Alim authored Jan 13, 2020
2 parents 5ee04b5 + 0892123 commit 52ef708
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
== Changelog ==
= 2.3.3 =
* COMPATIBILITY - Fixed VidoRev video file uploaded from the frontend not syncing. GitHub issue [#418](https://github.com/wpCloud/wp-stateless/issues/418).
* COMPATIBILITY - Fixed fatal error with ShortPixel version 4.14.2. GitHub issue [#433](https://github.com/wpCloud/wp-stateless/issues/433).

= 2.3.2 =
* FIX - Fixed video file doesn't get deleted from the server in `Stateless` mode. GitHub issue [#418](https://github.com/wpCloud/wp-stateless/issues/418).
Expand Down
1 change: 1 addition & 0 deletions changes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#### 2.3.3 ####
* COMPATIBILITY - Fixed VidoRev video file uploaded from the frontend not syncing. GitHub issue [#418](https://github.com/wpCloud/wp-stateless/issues/418).
* COMPATIBILITY - Fixed fatal error with ShortPixel version 4.14.2. GitHub issue [#433](https://github.com/wpCloud/wp-stateless/issues/433).

#### 2.3.2 ####
* FIX - Fixed video file doesn't get deleted from the server in `Stateless` mode. GitHub issue [#418](https://github.com/wpCloud/wp-stateless/issues/418).
Expand Down
4 changes: 1 addition & 3 deletions lib/classes/compatibility/shortpixel.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/

namespace wpCloud\StatelessMedia {
use ShortPixel\ShortPixelLogger\ShortPixelLogger as Log;

if(!class_exists('wpCloud\StatelessMedia\ShortPixel')) {

Expand Down Expand Up @@ -53,8 +52,7 @@ public function module_init($sm){
add_action( 'sm:synced::image', array( $this, 'sync_backup_file'), 10, 2 );
add_action( 'sm:synced::image', array( $this, 'sync_webp_file'), 10, 2 );


if (Log::debugIsActive()) {
if (method_exists('ShortPixel\ShortPixelLogger\ShortPixelLogger', 'debugIsActive') && \ShortPixel\ShortPixelLogger\ShortPixelLogger::debugIsActive()) {
$this->jsSuffix = '.js'; //use unminified versions for easier debugging
}

Expand Down
1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ COMPATIBILITY - Fixed VidoRev video file uploaded from the frontend not syncing.
== Changelog ==
= 2.3.3 =
* COMPATIBILITY - Fixed VidoRev video file uploaded from the frontend not syncing. GitHub issue [#418](https://github.com/wpCloud/wp-stateless/issues/418).
* COMPATIBILITY - Fixed fatal error with ShortPixel version 4.14.2. GitHub issue [#433](https://github.com/wpCloud/wp-stateless/issues/433).

= 2.3.2 =
* FIX - Fixed video file doesn't get deleted from the server in `Stateless` mode. GitHub issue [#418](https://github.com/wpCloud/wp-stateless/issues/418).
Expand Down

0 comments on commit 52ef708

Please sign in to comment.