WP Retina 2x - Version 5.5.4

Version Description

  • Add: Filter for cropping plugins.
Download this release

Release Info

Developer TigrouMeow
Plugin Icon 128x128 WP Retina 2x
Version 5.5.4
Comparing to
See all releases

Code changes from version 5.5.3 to 5.5.4

Files changed (3) hide show
  1. core.php +1 -1
  2. readme.txt +4 -1
  3. wp-retina-2x.php +2 -2
core.php CHANGED
@@ -1069,7 +1069,7 @@ class Meow_WR2X_Core {
1069
  // Change proposed by Nicscott01, slighlty modified by Jordy (+isset)
1070
  // (https://wordpress.org/support/topic/issue-with-crop-position?replies=4#post-6200271)
1071
  $crop = isset( $_wp_additional_image_sizes[$name] ) ? $_wp_additional_image_sizes[$name]['crop'] : true;
1072
- $customCrop = apply_filters( 'wr2x_custom_crop', null );
1073
 
1074
  // // Support for Manual Image Crop
1075
  // // If the size of the image was manually cropped, let's keep it.
1069
  // Change proposed by Nicscott01, slighlty modified by Jordy (+isset)
1070
  // (https://wordpress.org/support/topic/issue-with-crop-position?replies=4#post-6200271)
1071
  $crop = isset( $_wp_additional_image_sizes[$name] ) ? $_wp_additional_image_sizes[$name]['crop'] : true;
1072
+ $customCrop = apply_filters( 'wr2x_custom_crop', null, $id, $name );
1073
 
1074
  // // Support for Manual Image Crop
1075
  // // If the size of the image was manually cropped, let's keep it.
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: retina, images, image, responsive, lazysizes, lazy, attachment, media, fil
4
  Requires at least: 4.4
5
  Tested up to: 5.1
6
  Requires PHP: 7.0
7
- Stable tag: 5.5.3
8
 
9
  Make your website look beautiful and crisp on modern displays by creating and displaying retina images. WP 4.4+ is also supported and enhanced.
10
 
@@ -34,6 +34,9 @@ More information and tutorial available one https://meowapps.com/wp-retina-2x/.
34
 
35
  == Changelog ==
36
 
 
 
 
37
  = 5.5.3 =
38
  * Fix: Usage of Composer.
39
  * Update: If available, will use the Full-Size Retina for generating Retina thumbnails.
4
  Requires at least: 4.4
5
  Tested up to: 5.1
6
  Requires PHP: 7.0
7
+ Stable tag: 5.5.4
8
 
9
  Make your website look beautiful and crisp on modern displays by creating and displaying retina images. WP 4.4+ is also supported and enhanced.
10
 
34
 
35
  == Changelog ==
36
 
37
+ = 5.5.4 =
38
+ * Add: Filter for cropping plugins.
39
+
40
  = 5.5.3 =
41
  * Fix: Usage of Composer.
42
  * Update: If available, will use the Full-Size Retina for generating Retina thumbnails.
wp-retina-2x.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP Retina 2x
4
  Plugin URI: https://meowapps.com
5
  Description: Make your website look beautiful and crisp on modern displays by creating + displaying retina images.
6
- Version: 5.5.3
7
  Author: Jordy Meow
8
  Author URI: https://meowapps.com
9
  Text Domain: wp-retina-2x
@@ -29,7 +29,7 @@ if ( class_exists( 'Meow_WR2X_Core' ) ) {
29
  global $wr2x_picturefill, $wr2x_retinajs, $wr2x_lazysizes,
30
  $wr2x_retina_image, $wr2x_core;
31
 
32
- $wr2x_version = '5.5.3';
33
  $wr2x_retinajs = '2.0.0';
34
  $wr2x_picturefill = '3.0.2';
35
  $wr2x_lazysizes = '4.0.4';
3
  Plugin Name: WP Retina 2x
4
  Plugin URI: https://meowapps.com
5
  Description: Make your website look beautiful and crisp on modern displays by creating + displaying retina images.
6
+ Version: 5.5.4
7
  Author: Jordy Meow
8
  Author URI: https://meowapps.com
9
  Text Domain: wp-retina-2x
29
  global $wr2x_picturefill, $wr2x_retinajs, $wr2x_lazysizes,
30
  $wr2x_retina_image, $wr2x_core;
31
 
32
+ $wr2x_version = '5.5.4';
33
  $wr2x_retinajs = '2.0.0';
34
  $wr2x_picturefill = '3.0.2';
35
  $wr2x_lazysizes = '4.0.4';