Version Description
- Hopefully fix issue with plugin loading for some users
Download this release
Release Info
Developer | jczorkmid |
Plugin | Use Google Libraries |
Version | 1.0.9.2 |
Comparing to | |
See all releases |
Code changes from version 1.0.9.1 to 1.0.9.2
- README.txt +5 -1
- use-google-libraries.php +6 -4
README.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://jasonpenney.net/donate
|
|
4 |
Tags: javascript, performance, CDN, Google, jQuery, Prototype, MooTools, Dojo, Google AJAX Libraries API
|
5 |
Requires at least: 2.9.1
|
6 |
Tested up to: 2.9.1
|
7 |
-
Stable tag: 1.0.9.
|
8 |
|
9 |
Allows your site to use common javascript libraries from Google's AJAX
|
10 |
Libraries CDN, rather than from Wordpress's own copies.
|
@@ -85,6 +85,10 @@ using K2.
|
|
85 |
|
86 |
== Changelog ==
|
87 |
|
|
|
|
|
|
|
|
|
88 |
= 1.0.9.1 =
|
89 |
|
90 |
+ Added **Incompatible Plugins** and **Incompatible Themes** sections
|
4 |
Tags: javascript, performance, CDN, Google, jQuery, Prototype, MooTools, Dojo, Google AJAX Libraries API
|
5 |
Requires at least: 2.9.1
|
6 |
Tested up to: 2.9.1
|
7 |
+
Stable tag: 1.0.9.2
|
8 |
|
9 |
Allows your site to use common javascript libraries from Google's AJAX
|
10 |
Libraries CDN, rather than from Wordpress's own copies.
|
85 |
|
86 |
== Changelog ==
|
87 |
|
88 |
+
= 1.0.9.2 =
|
89 |
+
|
90 |
+
+ Hopefully fix issue with plugin loading for some users
|
91 |
+
|
92 |
= 1.0.9.1 =
|
93 |
|
94 |
+ Added **Incompatible Plugins** and **Incompatible Themes** sections
|
use-google-libraries.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Use Google Libraries
|
4 |
Plugin URI: http://jasonpenney.net/wordpress-plugins/use-google-libraries/
|
5 |
Description:Allows your site to use common javascript libraries from Google's AJAX Libraries CDN, rather than from Wordpress's own copies.
|
6 |
-
Version: 1.0.9.
|
7 |
Author: Jason Penney
|
8 |
Author URI: http://jasonpenney.net/
|
9 |
*/
|
@@ -108,11 +108,13 @@ if (!class_exists('JCP_UseGoogleLibraries')) {
|
|
108 |
|
109 |
static function configure_plugin() {
|
110 |
add_action( 'wp_default_scripts',
|
111 |
-
'JCP_UseGoogleLibraries
|
|
|
112 |
1000);
|
113 |
add_filter( 'script_loader_src',
|
114 |
-
"JCP_UseGoogleLibraries
|
115 |
-
|
|
|
116 |
|
117 |
}
|
118 |
|
3 |
Plugin Name: Use Google Libraries
|
4 |
Plugin URI: http://jasonpenney.net/wordpress-plugins/use-google-libraries/
|
5 |
Description:Allows your site to use common javascript libraries from Google's AJAX Libraries CDN, rather than from Wordpress's own copies.
|
6 |
+
Version: 1.0.9.2
|
7 |
Author: Jason Penney
|
8 |
Author URI: http://jasonpenney.net/
|
9 |
*/
|
108 |
|
109 |
static function configure_plugin() {
|
110 |
add_action( 'wp_default_scripts',
|
111 |
+
array( 'JCP_UseGoogleLibraries',
|
112 |
+
'replace_default_scripts_action'),
|
113 |
1000);
|
114 |
add_filter( 'script_loader_src',
|
115 |
+
array( "JCP_UseGoogleLibraries", "remove_ver_query_filter" ),
|
116 |
+
1000);
|
117 |
+
add_filter( 'init',array( "JCP_UseGoogleLibraries", "setup_filter" ));
|
118 |
|
119 |
}
|
120 |
|