Smush Image Compression and Optimization - Version 1.2.6

Version Description

  • updated Smush.it endpoint URL
  • fixed undefined constant
Download this release

Release Info

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

Code changes from version 1.2.5 to 1.2.6

Files changed (2) hide show
  1. readme.txt +7 -3
  2. wp-smushit.php +5 -5
readme.txt CHANGED
@@ -1,13 +1,13 @@
1
  === WP Smush.it ===
2
  Plugin Name: WP Smush.it
3
- Version: 1.2.5
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.5
10
- Stable tag: 1.2.5
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,10 @@ Plugin updates are announced on [http://www.twitter.com/TheCHANGELOG](http://www
48
  1. Done!
49
 
50
  == Changelog ==
 
 
 
 
51
  = 1.2.5 =
52
  * updated Smush.it endpoint URL
53
 
1
  === WP Smush.it ===
2
  Plugin Name: WP Smush.it
3
+ Version: 1.2.6
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.6
10
+ Stable tag: 1.2.6
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.6 =
52
+ * updated Smush.it endpoint URL
53
+ * fixed undefined constant
54
+
55
  = 1.2.5 =
56
  * updated Smush.it endpoint URL
57
 
wp-smushit.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Integrate the Smush.it API into WordPress.
4
- * @version 1.2.5
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.5
13
  Author URI: http://dialect.ca/?wp_smush_it
14
  */
15
 
@@ -23,8 +23,8 @@ if ( !class_exists('Services_JSON') ) {
23
  */
24
 
25
  //define('SMUSHIT_REQ_URL', 'http://smushit.com/ws.php?img=%s');
26
- //define('SMUSHIT_REQ_URL', 'http://smushit.com/ysmush.it/ws.php?img=%s');
27
- define('SMUSHIT_REQ_URL', 'http://ws1.adq.ac4.yahoo.com/ysmush.it/ws.php?img=%s');
28
 
29
  define('SMUSHIT_BASE_URL', 'http://smushit.com/');
30
 
@@ -74,7 +74,7 @@ function wp_smushit_init() {
74
 
75
  function wp_smushit_add_pages() {
76
  add_submenu_page('themes.php', 'Smush.it', 'WP Smush.it', 8, dirname(__FILE__) . '/theme.php');
77
- add_options_page(__('WP Smush.it Options', WP_SMUSHIT_OPTIONS), 'WP Smush.it', 8, dirname(__FILE__) . '/options.php');
78
  add_filter( 'plugin_action_links', 'wp_smushit_filter_plugin_actions', 10, 2 );
79
  }
80
 
1
  <?php
2
  /**
3
  * Integrate the Smush.it API into WordPress.
4
+ * @version 1.2.6
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.6
13
  Author URI: http://dialect.ca/?wp_smush_it
14
  */
15
 
23
  */
24
 
25
  //define('SMUSHIT_REQ_URL', 'http://smushit.com/ws.php?img=%s');
26
+ //define('SMUSHIT_REQ_URL', 'http://ws1.adq.ac4.yahoo.com/ysmush.it/ws.php?img=%s');
27
+ define('SMUSHIT_REQ_URL', 'http://smushit.com/ysmush.it/ws.php?img=%s');
28
 
29
  define('SMUSHIT_BASE_URL', 'http://smushit.com/');
30
 
74
 
75
  function wp_smushit_add_pages() {
76
  add_submenu_page('themes.php', 'Smush.it', 'WP Smush.it', 8, dirname(__FILE__) . '/theme.php');
77
+ add_options_page(__('WP Smush.it Options', WP_SMUSHIT_DOMAIN), 'WP Smush.it', 8, dirname(__FILE__) . '/options.php');
78
  add_filter( 'plugin_action_links', 'wp_smushit_filter_plugin_actions', 10, 2 );
79
  }
80