Version Description
Download this release
Release Info
Developer | alexdunae |
Plugin | Smush Image Compression and Optimization |
Version | 1.1.3 |
Comparing to | |
See all releases |
Code changes from version 1.1.2 to 1.1.3
- history.txt +3 -0
- readme.txt +6 -2
- smush.php +1 -1
- wp-smushit.php +5 -3
history.txt
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
=== WP Smush.it Release History ===
|
2 |
|
|
|
|
|
|
|
3 |
== 1.1.2 ==
|
4 |
* added test for allow_url_fopen
|
5 |
|
1 |
=== WP Smush.it Release History ===
|
2 |
|
3 |
+
== 1.1.3 ==
|
4 |
+
* fixed activation error when the PEAR JSON library is already loaded
|
5 |
+
|
6 |
== 1.1.2 ==
|
7 |
* added test for allow_url_fopen
|
8 |
|
readme.txt
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
=== WP Smush.it ===
|
2 |
Plugin Name: WP Smush.it
|
3 |
-
Version: 1.1.
|
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.7
|
10 |
-
Stable tag: 1.1.
|
11 |
|
12 |
Reduce image file sizes and improve performance using the <a href="http://smush.it/">Smush.it</a> API within WordPress.
|
13 |
|
@@ -33,6 +33,10 @@ You can also run your existing images through Smush.it via the WordPress `Media
|
|
33 |
= Privacy =
|
34 |
Be sure you’re comfortable with Smush.it’s privacy policy (found on their <a href="http://smush.it/faq.php">FAQ</a>).
|
35 |
|
|
|
|
|
|
|
|
|
36 |
== Screenshots ==
|
37 |
|
38 |
1. See the savings from Smush.it in the Media Library.
|
1 |
=== WP Smush.it ===
|
2 |
Plugin Name: WP Smush.it
|
3 |
+
Version: 1.1.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.7
|
10 |
+
Stable tag: 1.1.3
|
11 |
|
12 |
Reduce image file sizes and improve performance using the <a href="http://smush.it/">Smush.it</a> API within WordPress.
|
13 |
|
33 |
= Privacy =
|
34 |
Be sure you’re comfortable with Smush.it’s privacy policy (found on their <a href="http://smush.it/faq.php">FAQ</a>).
|
35 |
|
36 |
+
= Did you find this plugin useful? =
|
37 |
+
|
38 |
+
You can write a "recommendation" for me on my [LinkedIn profile](http://www.linkedin.com/in/alexdunae).
|
39 |
+
|
40 |
== Screenshots ==
|
41 |
|
42 |
1. See the savings from Smush.it in the Media Library.
|
smush.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Expects an `attachment_ID` in the query string.
|
6 |
*
|
7 |
-
* @version 1.1.
|
8 |
* @package WP_SmushIt
|
9 |
*/
|
10 |
|
4 |
*
|
5 |
* Expects an `attachment_ID` in the query string.
|
6 |
*
|
7 |
+
* @version 1.1.3
|
8 |
* @package WP_SmushIt
|
9 |
*/
|
10 |
|
wp-smushit.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Integrate the Smush.it API into WordPress.
|
4 |
-
* @version 1.1.
|
5 |
* @package WP_SmushIt
|
6 |
*/
|
7 |
/*
|
@@ -9,11 +9,13 @@ 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.1.
|
13 |
Author URI: http://dialect.ca/?wp_smush_it
|
14 |
*/
|
15 |
|
16 |
-
|
|
|
|
|
17 |
|
18 |
|
19 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
* Integrate the Smush.it API into WordPress.
|
4 |
+
* @version 1.1.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.1.3
|
13 |
Author URI: http://dialect.ca/?wp_smush_it
|
14 |
*/
|
15 |
|
16 |
+
if ( !class_exists('Services_JSON') ) {
|
17 |
+
require_once('JSON/JSON.php');
|
18 |
+
}
|
19 |
|
20 |
|
21 |
/**
|