Version Description
*Added Settings link in plugins info page *Renamed submenu page to Regenerate Thumbnails under Settings
=
Download this release
Release Info
Developer | turcuciprian |
Plugin | reGenerate Thumbnails Advanced |
Version | 0.8.2.5 |
Comparing to | |
See all releases |
Code changes from version 0.8.2.4 to 0.8.2.5
- readme.txt +8 -1
- regenerate-thumbnails-advanced.php +11 -2
- screenshot-1.png +0 -0
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: regenerate, thumbnails, advanced, easy, day, weeek, month
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.3
|
7 |
-
Stable tag: 0.8.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -82,6 +82,10 @@ The script stops, it does not run in the background
|
|
82 |
*Added time (in seconds) to each processed image - You can see how long each image took
|
83 |
*Error log status changes at the end from Processing to "No errors" if there are no errors.
|
84 |
|
|
|
|
|
|
|
|
|
85 |
== Upgrade Notice ==
|
86 |
|
87 |
= 0.7 =
|
@@ -105,5 +109,8 @@ No issuse with this version that require attention. Small update change. It's ba
|
|
105 |
= 0.8.2.3 =
|
106 |
No issuse with this version that require attention. Small update change. It's basically a feature, so unless you want it, the older version works great.
|
107 |
|
|
|
|
|
|
|
108 |
= 0.8.2.4 =
|
109 |
No issuse with this version that require attention. Small update change. It's basically a feature, so unless you want it, the older version works great.
|
4 |
Tags: regenerate, thumbnails, advanced, easy, day, weeek, month
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.3
|
7 |
+
Stable tag: 0.8.2.5
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
82 |
*Added time (in seconds) to each processed image - You can see how long each image took
|
83 |
*Error log status changes at the end from Processing to "No errors" if there are no errors.
|
84 |
|
85 |
+
= 0.8.2.5 =
|
86 |
+
*Added Settings link in plugins info page
|
87 |
+
*Renamed submenu page to Regenerate Thumbnails under Settings
|
88 |
+
|
89 |
== Upgrade Notice ==
|
90 |
|
91 |
= 0.7 =
|
109 |
= 0.8.2.3 =
|
110 |
No issuse with this version that require attention. Small update change. It's basically a feature, so unless you want it, the older version works great.
|
111 |
|
112 |
+
= 0.8.2.4 =
|
113 |
+
No issuse with this version that require attention. Small update change. It's basically a feature, so unless you want it, the older version works great.
|
114 |
+
|
115 |
= 0.8.2.4 =
|
116 |
No issuse with this version that require attention. Small update change. It's basically a feature, so unless you want it, the older version works great.
|
regenerate-thumbnails-advanced.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin Name: reGenerate Thumbnails - advanced
|
5 |
Plugin URI: http://turcuciprian.com
|
6 |
Description: A plugin that makes regenerating thumbnails even easier than before and more flexible.
|
7 |
-
Version: 0.8.2.
|
8 |
Author: turcuciprian
|
9 |
Author URI: http://turcuciprian.com
|
10 |
License: GPLv2 or later
|
@@ -19,6 +19,7 @@ class cc {
|
|
19 |
public function start() {
|
20 |
//create admin menu page and content
|
21 |
add_action('admin_menu', array($this, 'create_menu'));
|
|
|
22 |
add_action('admin_enqueue_scripts', array($this, 'enqueue_admin'));
|
23 |
//ajax callback for button click
|
24 |
add_action('wp_ajax_rta_ajax', array($this, 'ajax_callback'));
|
@@ -189,7 +190,7 @@ class cc {
|
|
189 |
global $cc_args;
|
190 |
$args = $cc_args;
|
191 |
// Add a new submenu under Tools:
|
192 |
-
add_options_page(__('reGenerate Thumbnails Advanced', 'rta_id'), __('
|
193 |
return true;
|
194 |
}
|
195 |
|
@@ -261,6 +262,14 @@ class cc {
|
|
261 |
|
262 |
echo $content;
|
263 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
264 |
|
265 |
}
|
266 |
|
4 |
Plugin Name: reGenerate Thumbnails - advanced
|
5 |
Plugin URI: http://turcuciprian.com
|
6 |
Description: A plugin that makes regenerating thumbnails even easier than before and more flexible.
|
7 |
+
Version: 0.8.2.5
|
8 |
Author: turcuciprian
|
9 |
Author URI: http://turcuciprian.com
|
10 |
License: GPLv2 or later
|
19 |
public function start() {
|
20 |
//create admin menu page and content
|
21 |
add_action('admin_menu', array($this, 'create_menu'));
|
22 |
+
add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array($this,'add_settings_link') );
|
23 |
add_action('admin_enqueue_scripts', array($this, 'enqueue_admin'));
|
24 |
//ajax callback for button click
|
25 |
add_action('wp_ajax_rta_ajax', array($this, 'ajax_callback'));
|
190 |
global $cc_args;
|
191 |
$args = $cc_args;
|
192 |
// Add a new submenu under Tools:
|
193 |
+
add_options_page(__('reGenerate Thumbnails Advanced', 'rta_id'), __('Regenerate Thumbnails', 'rta_id'), 'administrator', 'regenerate_thumbnails_advanced', array($this, 'create_page_callback'));
|
194 |
return true;
|
195 |
}
|
196 |
|
262 |
|
263 |
echo $content;
|
264 |
}
|
265 |
+
|
266 |
+
|
267 |
+
public function add_settings_link ( $links ) {
|
268 |
+
$mylinks = array(
|
269 |
+
'<a href="' . admin_url( 'options-general.php?page=regenerate_thumbnails_advanced' ) . '">Settings</a>',
|
270 |
+
);
|
271 |
+
return array_merge( $links, $mylinks );
|
272 |
+
}
|
273 |
|
274 |
}
|
275 |
|
screenshot-1.png
CHANGED
Binary file
|