Smush Image Compression and Optimization - Version 1.2.3

Version Description

Download this release

Release Info

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

Code changes from version 1.2.2 to 1.2.3

Files changed (3) hide show
  1. options.php +4 -4
  2. readme.txt +2 -2
  3. wp-smushit.php +4 -4
options.php CHANGED
@@ -21,12 +21,12 @@
21
  <p class="submit"><input type="submit" name="Submit" value="<?php _e('Save Changes') ?>" /></p>
22
 
23
  <?php
24
- echo get_template_directory() .'/style.css';
25
- $theme_data = get_theme_data( get_template_directory() .'/style.css');
26
- var_dump($theme_data);
27
  ?>
28
 
29
- <p><a href="admin.php?action=wp_smushit_theme&amp;theme=<?php echo urlencode(get_template_directory()); ?>">Smush current theme</a> (<code><?php echo get_current_theme(); ?></code>)</p>
30
 
31
 
32
  </form>
21
  <p class="submit"><input type="submit" name="Submit" value="<?php _e('Save Changes') ?>" /></p>
22
 
23
  <?php
24
+ //echo get_template_directory() .'/style.css';
25
+ //$theme_data = get_theme_data( get_template_directory() .'/style.css');
26
+ //var_dump($theme_data);
27
  ?>
28
 
29
+ <!--<p><a href="admin.php?action=wp_smushit_theme&amp;theme=<?php echo urlencode(get_template_directory()); ?>">Smush current theme</a> (<code><?php echo get_current_theme(); ?></code>)</p>-->
30
 
31
 
32
  </form>
readme.txt CHANGED
@@ -1,13 +1,13 @@
1
  === WP Smush.it ===
2
  Plugin Name: WP Smush.it
3
- Version: 1.2.2
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.2
11
 
12
  Reduce image file sizes and improve performance using the <a href="http://smush.it/">Smush.it</a> API within WordPress.
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
 
wp-smushit.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Integrate the Smush.it API into WordPress.
4
- * @version 1.2.2
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.2
13
  Author URI: http://dialect.ca/?wp_smush_it
14
  */
15
 
@@ -53,7 +53,7 @@ add_action('manage_media_custom_column', 'wp_smushit_custom_column', 10, 2);
53
  add_action('admin_menu', 'wp_smushit_add_pages');
54
  add_action('admin_init', 'wp_smushit_init');
55
  add_action('admin_action_wp_smushit_manual', 'wp_smushit_manual');
56
- add_action('admin_action_wp_smushit_theme', 'wp_smushit_theme');
57
 
58
 
59
  /**
@@ -92,7 +92,7 @@ function wp_smushit_options() {
92
  * Process all the images from a given theme
93
  */
94
  function wp_smushit_theme() {
95
- require_once('smush_theme.php');
96
  exit(0);
97
  }
98
 
1
  <?php
2
  /**
3
  * Integrate the Smush.it API into WordPress.
4
+ * @version 1.2.3
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.3
13
  Author URI: http://dialect.ca/?wp_smush_it
14
  */
15
 
53
  add_action('admin_menu', 'wp_smushit_add_pages');
54
  add_action('admin_init', 'wp_smushit_init');
55
  add_action('admin_action_wp_smushit_manual', 'wp_smushit_manual');
56
+ //add_action('admin_action_wp_smushit_theme', 'wp_smushit_theme');
57
 
58
 
59
  /**
92
  * Process all the images from a given theme
93
  */
94
  function wp_smushit_theme() {
95
+ //require_once('theme.php');
96
  exit(0);
97
  }
98