WP Retina 2x - Version 5.0.3

Version Description

  • Fix: There was a issue with the .htaccess rewriting (Class Meow_Admin not found).
  • Update: Core was totally re-organized and cleaned. Ready for nice updates.
  • Update: LazyLoading from version 2.0 to 3.0.
  • Info: There will be an important warning showing up during this update. It is an important annoucement.
Download this release

Release Info

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

Code changes from version 5.0.2 to 5.0.3

Files changed (4) hide show
  1. core.php +5 -5
  2. readme.txt +2 -2
  3. wp-retina-2x.php +2 -2
  4. wr2x_admin.php +1 -1
core.php CHANGED
@@ -470,19 +470,19 @@ class Meow_WR2X_Core {
470
  $status = ( isset( $retina_info ) && isset( $retina_info[$i] ) ) ? $retina_info[$i] : null;
471
  if ( is_array( $status ) )
472
  $result .= '<li class="meow-bk-red" title="' . $this->format_title( $i, $size ) . '">'
473
- . Meow_Admin::size_shortname( $i ) . '</li>';
474
  else if ( $status == 'EXISTS' )
475
  $result .= '<li class="meow-bk-blue" title="' . $this->format_title( $i, $size ) . '">'
476
- . Meow_Admin::size_shortname( $i ) . '</li>';
477
  else if ( $status == 'PENDING' )
478
  $result .= '<li class="meow-bk-orange" title="' . $this->format_title( $i, $size ) . '">'
479
- . Meow_Admin::size_shortname( $i ) . '</li>';
480
  else if ( $status == 'MISSING' )
481
  $result .= '<li class="meow-bk-red" title="' . $this->format_title( $i, $size ) . '">'
482
- . Meow_Admin::size_shortname( $i ) . '</li>';
483
  else if ( $status == 'IGNORED' )
484
  $result .= '<li class="meow-bk-gray" title="' . $this->format_title( $i, $size ) . '">'
485
- . Meow_Admin::size_shortname( $i ) . '</li>';
486
  else {
487
  error_log( "Retina: This status is not recognized: " . $status );
488
  }
470
  $status = ( isset( $retina_info ) && isset( $retina_info[$i] ) ) ? $retina_info[$i] : null;
471
  if ( is_array( $status ) )
472
  $result .= '<li class="meow-bk-red" title="' . $this->format_title( $i, $size ) . '">'
473
+ . MeowApps_Admin::size_shortname( $i ) . '</li>';
474
  else if ( $status == 'EXISTS' )
475
  $result .= '<li class="meow-bk-blue" title="' . $this->format_title( $i, $size ) . '">'
476
+ . MeowApps_Admin::size_shortname( $i ) . '</li>';
477
  else if ( $status == 'PENDING' )
478
  $result .= '<li class="meow-bk-orange" title="' . $this->format_title( $i, $size ) . '">'
479
+ . MeowApps_Admin::size_shortname( $i ) . '</li>';
480
  else if ( $status == 'MISSING' )
481
  $result .= '<li class="meow-bk-red" title="' . $this->format_title( $i, $size ) . '">'
482
+ . MeowApps_Admin::size_shortname( $i ) . '</li>';
483
  else if ( $status == 'IGNORED' )
484
  $result .= '<li class="meow-bk-gray" title="' . $this->format_title( $i, $size ) . '">'
485
+ . MeowApps_Admin::size_shortname( $i ) . '</li>';
486
  else {
487
  error_log( "Retina: This status is not recognized: " . $status );
488
  }
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: TigrouMeow
3
  Tags: retina, images, image, responsive, lazysizes, lazy, attachment, media, files, iphone, ipad, high-dpi
4
  Requires at least: 3.5
5
  Tested up to: 4.7
6
- Stable tag: 5.0.2
7
 
8
  Make your website look beautiful and crisp on modern displays by creating and displaying retina images. WP 4.4+ is also supported and enhanced.
9
 
@@ -33,7 +33,7 @@ More information and tutorial available one http://meowapps.com/wp-retina-2x/.
33
 
34
  == Changelog ==
35
 
36
- = 5.0.2 =
37
  * Fix: There was a issue with the .htaccess rewriting (Class ‘Meow_Admin’ not found).
38
  * Update: Core was totally re-organized and cleaned. Ready for nice updates.
39
  * Update: LazyLoading from version 2.0 to 3.0.
3
  Tags: retina, images, image, responsive, lazysizes, lazy, attachment, media, files, iphone, ipad, high-dpi
4
  Requires at least: 3.5
5
  Tested up to: 4.7
6
+ Stable tag: 5.0.3
7
 
8
  Make your website look beautiful and crisp on modern displays by creating and displaying retina images. WP 4.4+ is also supported and enhanced.
9
 
33
 
34
  == Changelog ==
35
 
36
+ = 5.0.3 =
37
  * Fix: There was a issue with the .htaccess rewriting (Class ‘Meow_Admin’ not found).
38
  * Update: Core was totally re-organized and cleaned. Ready for nice updates.
39
  * Update: LazyLoading from version 2.0 to 3.0.
wp-retina-2x.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP Retina 2x
4
  Plugin URI: http://meowapps.com
5
  Description: Make your website look beautiful and crisp on modern displays by creating + displaying retina images.
6
- Version: 5.0.2
7
  Author: Jordy Meow
8
  Author URI: http://meowapps.com
9
  Text Domain: wp-retina-2x
@@ -21,7 +21,7 @@ Originally developed for two of my websites:
21
  global $wr2x_picturefill, $wr2x_retinajs, $wr2x_lazysizes,
22
  $wr2x_retina_image, $wr2x_core;
23
 
24
- $wr2x_version = '5.0.2';
25
  $wr2x_retinajs = '2.0.0';
26
  $wr2x_picturefill = '3.0.2';
27
  $wr2x_lazysizes = '3.0.0';
3
  Plugin Name: WP Retina 2x
4
  Plugin URI: http://meowapps.com
5
  Description: Make your website look beautiful and crisp on modern displays by creating + displaying retina images.
6
+ Version: 5.0.3
7
  Author: Jordy Meow
8
  Author URI: http://meowapps.com
9
  Text Domain: wp-retina-2x
21
  global $wr2x_picturefill, $wr2x_retinajs, $wr2x_lazysizes,
22
  $wr2x_retina_image, $wr2x_core;
23
 
24
+ $wr2x_version = '5.0.3';
25
  $wr2x_retinajs = '2.0.0';
26
  $wr2x_picturefill = '3.0.2';
27
  $wr2x_lazysizes = '3.0.0';
wr2x_admin.php CHANGED
@@ -289,7 +289,7 @@ class Meow_WR2X_Admin extends MeowApps_Admin {
289
  $html = "";
290
  foreach ( $wpsizes as $name => $attr ) {
291
  $html .= '<input type="checkbox" name="wr2x_ignore_sizes[' . $name . ']" value="1" ' .
292
- ( array_key_exists( $name, $ignore_sizes ) ? 'checked' : '' ) . '/>' . sprintf( "<label><div style='float: left; text-align: right; margin-right: 5px; width: 20px;'>%s</div> <b>%s</b></label> <small>(Normal: %dx%d, Retina: %dx%d)</small>", Meow_Admin::size_shortname( $name ), $name, $attr['width'], $attr['height'], $attr['width'] * 2, $attr['height'] * 2 ) . '<br>';
293
  }
294
  $html .= '<br /><small class="description">' .
295
  __( 'The selected sizes will <b>not</b> have their retina equivalent generated.', 'wp-retina-2x' ) . '</small>';
289
  $html = "";
290
  foreach ( $wpsizes as $name => $attr ) {
291
  $html .= '<input type="checkbox" name="wr2x_ignore_sizes[' . $name . ']" value="1" ' .
292
+ ( array_key_exists( $name, $ignore_sizes ) ? 'checked' : '' ) . '/>' . sprintf( "<label><div style='float: left; text-align: right; margin-right: 5px; width: 20px;'>%s</div> <b>%s</b></label> <small>(Normal: %dx%d, Retina: %dx%d)</small>", MeowApps_Admin::size_shortname( $name ), $name, $attr['width'], $attr['height'], $attr['width'] * 2, $attr['height'] * 2 ) . '<br>';
293
  }
294
  $html .= '<br /><small class="description">' .
295
  __( 'The selected sizes will <b>not</b> have their retina equivalent generated.', 'wp-retina-2x' ) . '</small>';