Version Description
- Fixed: jQuery deprecated issues
Download this release
Release Info
Developer | 10web |
Plugin | Image Optimizer by 10web – Image Optimizer and Compression plugin |
Version | 1.0.25 |
Comparing to | |
See all releases |
Code changes from version 1.0.23 to 1.0.25
- .gitignore +3 -0
- assets/js/admin_main.js +1 -1
- includes/iowd-optimize.php +1 -1
- io-wd.php +1 -1
- iowd_class.php +1 -1
- readme.txt +5 -2
- wd/includes/deactivate.php +1 -1
.gitignore
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
# Created by .ignore support plugin (hsz.mobi)
|
2 |
+
/vendor/
|
3 |
+
.idea/*
|
assets/js/admin_main.js
CHANGED
@@ -250,7 +250,7 @@ function wdTabs(tabs, default_tab) {
|
|
250 |
var tabsContainerItem = tabs + "_container_item";
|
251 |
jQuery("." + tabsContainerItem).hide();
|
252 |
jQuery("#" + (iowd.iowd_active_tab ? iowd.iowd_active_tab : default_tab)).show();
|
253 |
-
jQuery("[href
|
254 |
|
255 |
jQuery("." + tabs + " li a").click(function () {
|
256 |
jQuery("." + tabsContainerItem).hide();
|
250 |
var tabsContainerItem = tabs + "_container_item";
|
251 |
jQuery("." + tabsContainerItem).hide();
|
252 |
jQuery("#" + (iowd.iowd_active_tab ? iowd.iowd_active_tab : default_tab)).show();
|
253 |
+
jQuery("[href='#" + (iowd.iowd_active_tab ? iowd.iowd_active_tab : default_tab) + "']").addClass(activeClass);
|
254 |
|
255 |
jQuery("." + tabs + " li a").click(function () {
|
256 |
jQuery("." + tabsContainerItem).hide();
|
includes/iowd-optimize.php
CHANGED
@@ -9,7 +9,7 @@ class IOWD_Optimize
|
|
9 |
private $options;
|
10 |
private $is_single = false;
|
11 |
private $allowed_types = array("jpg", "jpeg", "png", "gif");
|
12 |
-
private $images_count =
|
13 |
|
14 |
|
15 |
public function __construct($single = false)
|
9 |
private $options;
|
10 |
private $is_single = false;
|
11 |
private $allowed_types = array("jpg", "jpeg", "png", "gif");
|
12 |
+
private $images_count = 30;
|
13 |
|
14 |
|
15 |
public function __construct($single = false)
|
io-wd.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Image Optimizer WD
|
5 |
* Plugin URI: https://10web.io/services/image-optimizer/
|
6 |
* Description: Image Optimizer WordPress plugin enables you to resize, compress and optimize PNG, JPG, GIF files while maintaining image quality.
|
7 |
-
* Version: 1.0.
|
8 |
* Author: 10Web
|
9 |
* Author URI: https://10web.io
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
4 |
* Plugin Name: Image Optimizer WD
|
5 |
* Plugin URI: https://10web.io/services/image-optimizer/
|
6 |
* Description: Image Optimizer WordPress plugin enables you to resize, compress and optimize PNG, JPG, GIF files while maintaining image quality.
|
7 |
+
* Version: 1.0.25
|
8 |
* Author: 10Web
|
9 |
* Author URI: https://10web.io
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
iowd_class.php
CHANGED
@@ -8,7 +8,7 @@ class IOWD
|
|
8 |
{
|
9 |
|
10 |
protected static $instance = null;
|
11 |
-
private static $version = '1.0.
|
12 |
private static $page;
|
13 |
private $reg_autoloader = false;
|
14 |
private $options = array();
|
8 |
{
|
9 |
|
10 |
protected static $instance = null;
|
11 |
+
private static $version = '1.0.25';
|
12 |
private static $page;
|
13 |
private $reg_autoloader = false;
|
14 |
private $options = array();
|
readme.txt
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
Contributors: webdorado,10web
|
3 |
Tags: : compress, image, images optimization, performance, photos, lossless, optimize
|
4 |
Requires at least: 3.9
|
5 |
-
Tested up to: 5.
|
6 |
Requires PHP: 5.5
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -38,6 +38,9 @@ The plugin provides statistics, so you can always know how many images were opti
|
|
38 |
|
39 |
== Changelog ==
|
40 |
|
|
|
|
|
|
|
41 |
= 1.0.23 =
|
42 |
* Changed: Sign-up links
|
43 |
|
2 |
Contributors: webdorado,10web
|
3 |
Tags: : compress, image, images optimization, performance, photos, lossless, optimize
|
4 |
Requires at least: 3.9
|
5 |
+
Tested up to: 5.5
|
6 |
Requires PHP: 5.5
|
7 |
+
Stable tag: 1.0.25
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
38 |
|
39 |
== Changelog ==
|
40 |
|
41 |
+
= 1.0.25 =
|
42 |
+
* Fixed: jQuery deprecated issues
|
43 |
+
|
44 |
= 1.0.23 =
|
45 |
* Changed: Sign-up links
|
46 |
|
wd/includes/deactivate.php
CHANGED
@@ -100,7 +100,7 @@ class TenWebLibDeactivate
|
|
100 |
wp_localize_script('tenweb-deactivate-popup', $wd_options->prefix . 'WDDeactivateVars', array(
|
101 |
"prefix" => $wd_options->prefix,
|
102 |
"deactivate_class" => $wd_options->prefix . '_deactivate_link',
|
103 |
-
"email" => $admin_data->data->user_email,
|
104 |
"plugin_wd_url" => $wd_options->plugin_wd_url,
|
105 |
));
|
106 |
|
100 |
wp_localize_script('tenweb-deactivate-popup', $wd_options->prefix . 'WDDeactivateVars', array(
|
101 |
"prefix" => $wd_options->prefix,
|
102 |
"deactivate_class" => $wd_options->prefix . '_deactivate_link',
|
103 |
+
"email" => isset($admin_data->data->user_email) ? $admin_data->data->user_email : "",
|
104 |
"plugin_wd_url" => $wd_options->plugin_wd_url,
|
105 |
));
|
106 |
|