Version Description
(2022/11/25) = * Update: Still going towards a better UI organization. * Info: If you enjoy this plugin, please share some love by writing a little review here. And since I read them all, don't hesitate to drop a few remarks and feature requests in those reviews. Thank you :)
Download this release
Release Info
Developer | TigrouMeow |
Plugin | WP Retina 2x |
Version | 6.3.7 |
Comparing to | |
See all releases |
Code changes from version 6.3.6 to 6.3.7
- classes/core.php +15 -3
- readme.txt +7 -7
- wp-retina-2x.php +2 -2
classes/core.php
CHANGED
@@ -622,9 +622,15 @@ class Meow_WR2X_Core {
|
|
622 |
AND NOT EXISTS ( SELECT meta_id FROM $wpdb->postmeta WHERE post_id = p.ID AND meta_key = '_wr2x_optimize' )
|
623 |
" );
|
624 |
$ignored = $this->get_ignores();
|
625 |
-
$optimize_issues = array_filter( $postids, fn ( $id ) => !in_array( $id, $ignored ) );
|
626 |
-
set_transient( 'wr2x_optimize_issues', $optimize_issues );
|
627 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
628 |
return $optimize_issues;
|
629 |
}
|
630 |
|
@@ -642,7 +648,13 @@ class Meow_WR2X_Core {
|
|
642 |
AND NOT EXISTS ( SELECT meta_id FROM $wpdb->postmeta WHERE post_id = p.ID AND meta_key = '_wr2x_optimize' )
|
643 |
", ( '%' . $search . '%' ) ) );
|
644 |
$ignored = $this->get_ignores();
|
645 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
646 |
}
|
647 |
|
648 |
function add_optimize_issue( $attachmentId ) {
|
622 |
AND NOT EXISTS ( SELECT meta_id FROM $wpdb->postmeta WHERE post_id = p.ID AND meta_key = '_wr2x_optimize' )
|
623 |
" );
|
624 |
$ignored = $this->get_ignores();
|
|
|
|
|
625 |
|
626 |
+
// This is for PHP 7.4+
|
627 |
+
//$optimize_issues = array_filter( $postids, fn ( $id ) => !in_array( $id, $ignored ) );
|
628 |
+
|
629 |
+
$optimize_issues = array_filter( $postids, function( $id ) use ( $ignored ) {
|
630 |
+
return !in_array( $id, $ignored );
|
631 |
+
} );
|
632 |
+
|
633 |
+
set_transient( 'wr2x_optimize_issues', $optimize_issues );
|
634 |
return $optimize_issues;
|
635 |
}
|
636 |
|
648 |
AND NOT EXISTS ( SELECT meta_id FROM $wpdb->postmeta WHERE post_id = p.ID AND meta_key = '_wr2x_optimize' )
|
649 |
", ( '%' . $search . '%' ) ) );
|
650 |
$ignored = $this->get_ignores();
|
651 |
+
|
652 |
+
// This is for PHP 7.4+
|
653 |
+
//return array_filter( $postids, fn ( $id ) => in_array( $id, $ignored ) );
|
654 |
+
|
655 |
+
return array_filter( $postids, function( $id ) use ( $ignored ) {
|
656 |
+
return in_array( $id, $ignored );
|
657 |
+
} );
|
658 |
}
|
659 |
|
660 |
function add_optimize_issue( $attachmentId ) {
|
readme.txt
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
-
=== Perfect Images (Media
|
2 |
Contributors: TigrouMeow
|
3 |
Tags: retina, images, replace, size, thumbnail, regenerate, sizes, high-dpi
|
4 |
Donate link: https://meowapps.com/donation/
|
5 |
Requires at least: 5.0
|
6 |
Tested up to: 6.1
|
7 |
-
Requires PHP: 7.
|
8 |
-
Stable tag: 6.3.
|
9 |
|
10 |
Manage your images the right way: set your sizes, optimize, retinize, replace, and more! Everything you need for perfect images.
|
11 |
|
@@ -15,10 +15,10 @@ Manage your images the right way: set your sizes, optimize, retinize, replace, a
|
|
15 |
|
16 |
Originally, this plugin only took care of one thing: Retina Images. But with time, WordPress installs became more and more complex, and it was decided that this plugin should help you more with your images. Here are the main features:
|
17 |
|
18 |
-
* Image Sizes
|
19 |
-
* Media
|
20 |
-
* Retina Images
|
21 |
* Regenerate Thumbnails
|
|
|
22 |
* CDN (with Image Optimization by EWWW)
|
23 |
* Disable Image Threshold
|
24 |
|
@@ -51,7 +51,7 @@ The Pro version adds support for Retina for full-size, support for lazy-loading
|
|
51 |
|
52 |
== Changelog ==
|
53 |
|
54 |
-
= 6.3.
|
55 |
* Update: Still going towards a better UI organization.
|
56 |
* Info: If you enjoy this plugin, please share some love by [writing a little review here](https://wordpress.org/support/plugin/wp-retina-2x/reviews/?rate=5#new-post). And since I read them all, don't hesitate to drop a few remarks and feature requests in those reviews. Thank you :)
|
57 |
|
1 |
+
=== Perfect Images (Replace Media • Generate Thumbnails • Image Sizes • Optimize • HighDPI) ===
|
2 |
Contributors: TigrouMeow
|
3 |
Tags: retina, images, replace, size, thumbnail, regenerate, sizes, high-dpi
|
4 |
Donate link: https://meowapps.com/donation/
|
5 |
Requires at least: 5.0
|
6 |
Tested up to: 6.1
|
7 |
+
Requires PHP: 7.3.5
|
8 |
+
Stable tag: 6.3.7
|
9 |
|
10 |
Manage your images the right way: set your sizes, optimize, retinize, replace, and more! Everything you need for perfect images.
|
11 |
|
15 |
|
16 |
Originally, this plugin only took care of one thing: Retina Images. But with time, WordPress installs became more and more complex, and it was decided that this plugin should help you more with your images. Here are the main features:
|
17 |
|
18 |
+
* Manage Image Sizes
|
19 |
+
* Replace Image & Media
|
|
|
20 |
* Regenerate Thumbnails
|
21 |
+
* Retina Images / HighDPI
|
22 |
* CDN (with Image Optimization by EWWW)
|
23 |
* Disable Image Threshold
|
24 |
|
51 |
|
52 |
== Changelog ==
|
53 |
|
54 |
+
= 6.3.7 (2022/11/25) =
|
55 |
* Update: Still going towards a better UI organization.
|
56 |
* Info: If you enjoy this plugin, please share some love by [writing a little review here](https://wordpress.org/support/plugin/wp-retina-2x/reviews/?rate=5#new-post). And since I read them all, don't hesitate to drop a few remarks and feature requests in those reviews. Thank you :)
|
57 |
|
wp-retina-2x.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Perfect Images (Media Replace • Generate Thumbnails • Image Sizes • Optimize • HighDPI)
|
4 |
Plugin URI: https://meowapps.com
|
5 |
Description: Manage your images the right way: set your sizes, optimize, retinize, replace, and more! Everything you need for perfect images.
|
6 |
-
Version: 6.3.
|
7 |
Author: Jordy Meow
|
8 |
Author URI: https://meowapps.com
|
9 |
Text Domain: wp-retina-2x
|
@@ -15,7 +15,7 @@ Originally developed for two of my websites:
|
|
15 |
*/
|
16 |
|
17 |
if ( !defined( 'WR2X_VERSION' ) ) {
|
18 |
-
define( 'WR2X_VERSION', '6.3.
|
19 |
define( 'WR2X_PREFIX', 'wr2x' );
|
20 |
define( 'WR2X_DOMAIN', ' wp-retina-2x' );
|
21 |
define( 'WR2X_ENTRY', __FILE__ );
|
3 |
Plugin Name: Perfect Images (Media Replace • Generate Thumbnails • Image Sizes • Optimize • HighDPI)
|
4 |
Plugin URI: https://meowapps.com
|
5 |
Description: Manage your images the right way: set your sizes, optimize, retinize, replace, and more! Everything you need for perfect images.
|
6 |
+
Version: 6.3.7
|
7 |
Author: Jordy Meow
|
8 |
Author URI: https://meowapps.com
|
9 |
Text Domain: wp-retina-2x
|
15 |
*/
|
16 |
|
17 |
if ( !defined( 'WR2X_VERSION' ) ) {
|
18 |
+
define( 'WR2X_VERSION', '6.3.7' );
|
19 |
define( 'WR2X_PREFIX', 'wr2x' );
|
20 |
define( 'WR2X_DOMAIN', ' wp-retina-2x' );
|
21 |
define( 'WR2X_ENTRY', __FILE__ );
|