Skip to content

Commit

Permalink
Fix bug for 3.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahe committed May 5, 2015
1 parent 4bfa02b commit 75294f5
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
5 changes: 4 additions & 1 deletion README
Expand Up @@ -9,7 +9,7 @@

**Tested up to:** 4.2.1

**Stable tag:** 3.0.4
**Stable tag:** 3.0.5


## Description ##
Expand Down Expand Up @@ -64,6 +64,9 @@ And then you can choose if the image is displayed on the media insertion or not
](http://s.wordpress.org/extend/plugins/simple-image-sizes/screenshot-3.png)

## Changelog ##

* 3.0.5
* Fix bug on condition
* 3.0.4
* Fix global add_image_size
* 3.0.3
Expand Down
2 changes: 1 addition & 1 deletion classes/admin/media.php
Expand Up @@ -35,7 +35,7 @@ public static function enqueue_assets( $hook_suffix = '' ) {
return false;
}

if ( 'options-media.php'!== $hook_suffix ) {
if ( 'options-media.php'== $hook_suffix ) {
// Add javascript
wp_enqueue_script( 'sis_js' );

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "simple-image-sizes",
"version": "3.0.3",
"version": "3.0.5",
"description": "Simple image sizes for WordPress",
"author": "Nicolas Juen",
"devDependencies": {
Expand Down
2 changes: 2 additions & 0 deletions readme.txt
Expand Up @@ -48,6 +48,8 @@ And then you can choose if the image is displayed on the media insertion or not
3. Choose the sizes to regenerate and regenerate them

== Changelog ==
* 3.0.5
* Fix bug on condition
* 3.0.4
* Fix global add_image_size
* 3.0.3
Expand Down
4 changes: 2 additions & 2 deletions simple_image_sizes.php
Expand Up @@ -3,7 +3,7 @@
Plugin Name: Simple Image Sizes
Plugin URI: https://github.com/Rahe/simple-image-sizes
Description: Add options in media setting page for images sizes
Version: 3.0.4
Version: 3.0.5
Author: Rahe
Author URI: http://nicolas-juen.fr
Text Domain: 'simple-image-sizes'
Expand All @@ -30,7 +30,7 @@

define( 'SIS_URL', plugin_dir_url( __FILE__ ) );
define( 'SIS_DIR', plugin_dir_path( __FILE__ ) );
define( 'SIS_VERSION', '3.0.4' );
define( 'SIS_VERSION', '3.0.5' );
define( 'SIS_OPTION', 'custom_image_sizes' );

// Function for easy load files
Expand Down

0 comments on commit 75294f5

Please sign in to comment.