Version Description
= 1.5 = Detects when Google isn't hosting requested version. Required for WordPress 3.4!
Download this release
Release Info
Developer | jczorkmid |
Plugin | Use Google Libraries |
Version | 1.5.1 |
Comparing to | |
See all releases |
Code changes from version 1.5 to 1.5.1
- README.txt +2 -2
- use-google-libraries.php +3 -3
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, YSlow, Page Speed
|
5 |
Requires at least: 2.9.1
|
6 |
-
Tested up to: 3.
|
7 |
-
Stable tag: 1.5
|
8 |
|
9 |
Allows your site to use common javascript libraries from Google's AJAX
|
10 |
Libraries CDN, rather than from WordPress's own copies.
|
3 |
Donate link: http://jasonpenney.net/donate
|
4 |
Tags: javascript, performance, CDN, Google, jQuery, Prototype, MooTools, Dojo, Google AJAX Libraries API, YSlow, Page Speed
|
5 |
Requires at least: 2.9.1
|
6 |
+
Tested up to: 3.5.1
|
7 |
+
Stable tag: 1.5.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.
|
use-google-libraries.php
CHANGED
@@ -3,12 +3,12 @@
|
|
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.5
|
7 |
Author: Jason Penney
|
8 |
Author URI: http://jasonpenney.net/
|
9 |
*/
|
10 |
|
11 |
-
/* Copyright 2008 Jason Penney (email : jpenney@jczorkmid.net )
|
12 |
|
13 |
This program is free software; you can redistribute it and/or modify
|
14 |
it under the terms of the GNU General Public License as published by
|
@@ -149,7 +149,7 @@ if ( !class_exists( 'JCP_UseGoogleLibraries' ) ) {
|
|
149 |
if ( ( function_exists( 'getenv' ) and
|
150 |
( ( getenv( 'HTTPS' ) != '' and getenv( 'HTTPS' ) != 'off' )
|
151 |
or
|
152 |
-
( getenv( 'SERVER_PORT' ) == '
|
153 |
or
|
154 |
( isset( $_SERVER ) and
|
155 |
( ( isset( $_SERVER['HTTPS'] ) and $_SERVER['HTTPS'] !='' and $_SERVER['HTTPS'] != 'off' )
|
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.5.1
|
7 |
Author: Jason Penney
|
8 |
Author URI: http://jasonpenney.net/
|
9 |
*/
|
10 |
|
11 |
+
/* Copyright 2008-2013 Jason Penney (email : jpenney@jczorkmid.net )
|
12 |
|
13 |
This program is free software; you can redistribute it and/or modify
|
14 |
it under the terms of the GNU General Public License as published by
|
149 |
if ( ( function_exists( 'getenv' ) and
|
150 |
( ( getenv( 'HTTPS' ) != '' and getenv( 'HTTPS' ) != 'off' )
|
151 |
or
|
152 |
+
( getenv( 'SERVER_PORT' ) == '443' ) ) )
|
153 |
or
|
154 |
( isset( $_SERVER ) and
|
155 |
( ( isset( $_SERVER['HTTPS'] ) and $_SERVER['HTTPS'] !='' and $_SERVER['HTTPS'] != 'off' )
|