Version Description
Download this release
Release Info
Developer | Rahe |
Plugin | Simple Image Sizes |
Version | 3.0.5 |
Comparing to | |
See all releases |
Code changes from version 3.0.4 to 3.0.5
- README +4 -1
- classes/admin/media.php +1 -1
- package.json +12 -12
- readme.txt +2 -0
- simple_image_sizes.php +2 -2
README
CHANGED
@@ -9,7 +9,7 @@
|
|
9 |
|
10 |
**Tested up to:** 4.2.1
|
11 |
|
12 |
-
**Stable tag:** 3.0.
|
13 |
|
14 |
|
15 |
## Description ##
|
@@ -64,6 +64,9 @@ And then you can choose if the image is displayed on the media insertion or not
|
|
64 |
](http://s.wordpress.org/extend/plugins/simple-image-sizes/screenshot-3.png)
|
65 |
|
66 |
## Changelog ##
|
|
|
|
|
|
|
67 |
* 3.0.4
|
68 |
* Fix global add_image_size
|
69 |
* 3.0.3
|
9 |
|
10 |
**Tested up to:** 4.2.1
|
11 |
|
12 |
+
**Stable tag:** 3.0.5
|
13 |
|
14 |
|
15 |
## Description ##
|
64 |
](http://s.wordpress.org/extend/plugins/simple-image-sizes/screenshot-3.png)
|
65 |
|
66 |
## Changelog ##
|
67 |
+
|
68 |
+
* 3.0.5
|
69 |
+
* Fix bug on condition
|
70 |
* 3.0.4
|
71 |
* Fix global add_image_size
|
72 |
* 3.0.3
|
classes/admin/media.php
CHANGED
@@ -35,7 +35,7 @@ Class SIS_Admin_Media {
|
|
35 |
return false;
|
36 |
}
|
37 |
|
38 |
-
if ( 'options-media.php'
|
39 |
// Add javascript
|
40 |
wp_enqueue_script( 'sis_js' );
|
41 |
|
35 |
return false;
|
36 |
}
|
37 |
|
38 |
+
if ( 'options-media.php'== $hook_suffix ) {
|
39 |
// Add javascript
|
40 |
wp_enqueue_script( 'sis_js' );
|
41 |
|
package.json
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
-
{
|
2 |
-
"name": "simple-image-sizes",
|
3 |
-
"version": "3.0.
|
4 |
-
"description": "Simple image sizes for WordPress",
|
5 |
-
"author": "Nicolas Juen",
|
6 |
-
"devDependencies": {
|
7 |
-
"grunt": "~0.4.4",
|
8 |
-
"grunt-contrib-jshint": "~0.10.0",
|
9 |
-
"grunt-contrib-uglify": "~0.4.0",
|
10 |
-
"grunt-contrib-watch":"~0.6.1",
|
11 |
-
"grunt-contrib-cssmin":"~0.9.0"
|
12 |
-
}
|
13 |
}
|
1 |
+
{
|
2 |
+
"name": "simple-image-sizes",
|
3 |
+
"version": "3.0.5",
|
4 |
+
"description": "Simple image sizes for WordPress",
|
5 |
+
"author": "Nicolas Juen",
|
6 |
+
"devDependencies": {
|
7 |
+
"grunt": "~0.4.4",
|
8 |
+
"grunt-contrib-jshint": "~0.10.0",
|
9 |
+
"grunt-contrib-uglify": "~0.4.0",
|
10 |
+
"grunt-contrib-watch":"~0.6.1",
|
11 |
+
"grunt-contrib-cssmin":"~0.9.0"
|
12 |
+
}
|
13 |
}
|
readme.txt
CHANGED
@@ -48,6 +48,8 @@ And then you can choose if the image is displayed on the media insertion or not
|
|
48 |
3. Choose the sizes to regenerate and regenerate them
|
49 |
|
50 |
== Changelog ==
|
|
|
|
|
51 |
* 3.0.4
|
52 |
* Fix global add_image_size
|
53 |
* 3.0.3
|
48 |
3. Choose the sizes to regenerate and regenerate them
|
49 |
|
50 |
== Changelog ==
|
51 |
+
* 3.0.5
|
52 |
+
* Fix bug on condition
|
53 |
* 3.0.4
|
54 |
* Fix global add_image_size
|
55 |
* 3.0.3
|
simple_image_sizes.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Simple Image Sizes
|
4 |
Plugin URI: https://github.com/Rahe/simple-image-sizes
|
5 |
Description: Add options in media setting page for images sizes
|
6 |
-
Version: 3.0.
|
7 |
Author: Rahe
|
8 |
Author URI: http://nicolas-juen.fr
|
9 |
Text Domain: 'simple-image-sizes'
|
@@ -30,7 +30,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
30 |
|
31 |
define( 'SIS_URL', plugin_dir_url( __FILE__ ) );
|
32 |
define( 'SIS_DIR', plugin_dir_path( __FILE__ ) );
|
33 |
-
define( 'SIS_VERSION', '3.0.
|
34 |
define( 'SIS_OPTION', 'custom_image_sizes' );
|
35 |
|
36 |
// Function for easy load files
|
3 |
Plugin Name: Simple Image Sizes
|
4 |
Plugin URI: https://github.com/Rahe/simple-image-sizes
|
5 |
Description: Add options in media setting page for images sizes
|
6 |
+
Version: 3.0.5
|
7 |
Author: Rahe
|
8 |
Author URI: http://nicolas-juen.fr
|
9 |
Text Domain: 'simple-image-sizes'
|
30 |
|
31 |
define( 'SIS_URL', plugin_dir_url( __FILE__ ) );
|
32 |
define( 'SIS_DIR', plugin_dir_path( __FILE__ ) );
|
33 |
+
define( 'SIS_VERSION', '3.0.5' );
|
34 |
define( 'SIS_OPTION', 'custom_image_sizes' );
|
35 |
|
36 |
// Function for easy load files
|