Use Google Libraries - Version 1.0.7.1

Version Description

  • fix previous fix (whoops!)
Download this release

Release Info

Developer jczorkmid
Plugin Icon wp plugin Use Google Libraries
Version 1.0.7.1
Comparing to
See all releases

Code changes from version 1.0.7 to 1.0.7.1

Files changed (2) hide show
  1. README.txt +6 -2
  2. use-google-libraries.php +2 -2
README.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: jczorkmid
3
  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.6
6
- Tested up to: 2.8
7
- Stable tag: 1.0.7
8
 
9
  Allows your site to use common javascript libraries from Google's AJAX
10
  Libraries CDN, rather than from Wordpress's own copies.
@@ -52,6 +52,10 @@ disappearing.
52
 
53
  == Changelog ==
54
 
 
 
 
 
55
  = 1.0.7 =
56
 
57
  + Quick and dirty workaround for scriptaculous loading (thanks to
3
  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.6
6
+ Tested up to: 2.9
7
+ Stable tag: 1.0.7.1
8
 
9
  Allows your site to use common javascript libraries from Google's AJAX
10
  Libraries CDN, rather than from Wordpress's own copies.
52
 
53
  == Changelog ==
54
 
55
+ = 1.0.7.1 =
56
+
57
+ + fix previous fix (whoops!)
58
+
59
  = 1.0.7 =
60
 
61
  + Quick and dirty workaround for scriptaculous loading (thanks to
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.7
7
  Author: Jason Penney
8
  Author URI: http://jasonpenney.net/
9
  */
@@ -105,7 +105,7 @@ if (!class_exists('JCP_UseGoogleLibraries')) {
105
 
106
  // TODO: replace with more flexible option
107
  // quick and dirty work around for scriptaculous 1.8.0
108
- if (strpos($name,'scriptaculous') && $ver = '1.8.0') {
109
  $ver = '1.8';
110
  }
111
 
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.7.1
7
  Author: Jason Penney
8
  Author URI: http://jasonpenney.net/
9
  */
105
 
106
  // TODO: replace with more flexible option
107
  // quick and dirty work around for scriptaculous 1.8.0
108
+ if ($name == 'scriptaculous-root' && $ver == '1.8.0') {
109
  $ver = '1.8';
110
  }
111