Smush Image Compression and Optimization - Version 1.2.4

Version Description

  • removed debugging code that was interfering with the Flash uploader
Download this release

Release Info

Developer alexdunae
Plugin Icon 128x128 Smush Image Compression and Optimization
Version 1.2.4
Comparing to
See all releases

Code changes from version 1.2.3 to 1.2.4

Files changed (2) hide show
  1. readme.txt +8 -3
  2. wp-smushit.php +3 -5
readme.txt CHANGED
@@ -1,13 +1,13 @@
1
  === WP Smush.it ===
2
  Plugin Name: WP Smush.it
3
- Version: 1.2.3
4
  Author: Dialect
5
  Author URI: http://dialect.ca/?wp_smush_it
6
  Contributors: alexdunae
7
  Tags: images, image, attachments, attachment
8
  Requires at least: 2.5
9
- Tested up to: 2.8.2
10
- Stable tag: 1.2.3
11
 
12
  Reduce image file sizes and improve performance using the <a href="http://smush.it/">Smush.it</a> API within WordPress.
13
 
@@ -48,6 +48,11 @@ Plugin updates are announced on [http://www.twitter.com/TheCHANGELOG](http://www
48
  1. Done!
49
 
50
  == Changelog ==
 
 
 
 
 
51
 
52
  = 1.2.2 =
53
  * updated to use Yahoo! hosted Smush.it service
1
  === WP Smush.it ===
2
  Plugin Name: WP Smush.it
3
+ Version: 1.2.4
4
  Author: Dialect
5
  Author URI: http://dialect.ca/?wp_smush_it
6
  Contributors: alexdunae
7
  Tags: images, image, attachments, attachment
8
  Requires at least: 2.5
9
+ Tested up to: 2.8.4
10
+ Stable tag: 1.2.4
11
 
12
  Reduce image file sizes and improve performance using the <a href="http://smush.it/">Smush.it</a> API within WordPress.
13
 
48
  1. Done!
49
 
50
  == Changelog ==
51
+ = 1.2.4 =
52
+ * removed debugging code that was interfering with the Flash uploader
53
+
54
+ = 1.2.3 =
55
+ * bug fix
56
 
57
  = 1.2.2 =
58
  * updated to use Yahoo! hosted Smush.it service
wp-smushit.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Integrate the Smush.it API into WordPress.
4
- * @version 1.2.3
5
  * @package WP_SmushIt
6
  */
7
  /*
@@ -9,7 +9,7 @@ Plugin Name: WP Smush.it
9
  Plugin URI: http://dialect.ca/code/wp-smushit/
10
  Description: Reduce image file sizes and improve performance using the <a href="http://smush.it/">Smush.it</a> API within WordPress.
11
  Author: Dialect
12
- Version: 1.2.3
13
  Author URI: http://dialect.ca/?wp_smush_it
14
  */
15
 
@@ -66,7 +66,6 @@ function wp_smushit_install() {
66
 
67
  function wp_smushit_init() {
68
  load_plugin_textdomain(WP_SMUSHIT_DOMAIN);
69
- // print 'init';
70
  wp_enqueue_script('common');
71
  }
72
 
@@ -267,8 +266,7 @@ function wp_smushit_resize_from_meta_data($meta) {
267
  $store_absolute_path = false;
268
  $file_path = $upload_path . $file_path;
269
  }
270
- print '<pre>';
271
- print $file_path . "\n";
272
  list($meta['file'], $meta['wp_smushit']) = wp_smushit($file_path);
273
 
274
  // strip absolute path for Wordpress >= 2.6.2
1
  <?php
2
  /**
3
  * Integrate the Smush.it API into WordPress.
4
+ * @version 1.2.4
5
  * @package WP_SmushIt
6
  */
7
  /*
9
  Plugin URI: http://dialect.ca/code/wp-smushit/
10
  Description: Reduce image file sizes and improve performance using the <a href="http://smush.it/">Smush.it</a> API within WordPress.
11
  Author: Dialect
12
+ Version: 1.2.4
13
  Author URI: http://dialect.ca/?wp_smush_it
14
  */
15
 
66
 
67
  function wp_smushit_init() {
68
  load_plugin_textdomain(WP_SMUSHIT_DOMAIN);
 
69
  wp_enqueue_script('common');
70
  }
71
 
266
  $store_absolute_path = false;
267
  $file_path = $upload_path . $file_path;
268
  }
269
+
 
270
  list($meta['file'], $meta['wp_smushit']) = wp_smushit($file_path);
271
 
272
  // strip absolute path for Wordpress >= 2.6.2