Plugin Directory

Changeset 1145152


Ignore:
Timestamp:
04/24/2015 08:12:34 PM (11 years ago)
Author:
jczorkmid
Message:

hotfix to bypass UGL on 4.2 until real update

Location:
use-google-libraries/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • use-google-libraries/trunk/README.txt

    r1013621 r1145152  
    44Tags: javascript, performance, CDN, Google, jQuery, Prototype, MooTools, Dojo, Google AJAX Libraries API, YSlow, Page Speed
    55Requires at least: 3.4
    6 Tested up to: 4.0
    7 Stable tag: 1.6.2
     6Tested up to: 4.1.3
     7Stable tag: 1.6.2.1
    88
    99Allows your site to use common javascript libraries from Google's AJAX
     
    126126
    127127== Changelog ==
     128
     129= 1.6.2.1 =
     130
     131+ Bypass functionality when running under 4.2+ until next version to avoid breaking sites.
    128132
    129133= 1.6.2 =
     
    243247== Upgrade Notice ==
    244248
    245 = 1.6.2 =
    246 
    247 Fixes missing registrations. Upgrade immediately!
     249= 1.6.2.1 =
     250
     251Bypass UGL in unsupported versions of WordPress (update now, and UGL will start working again when it's ready).
    248252
    249253== A Request ==
  • use-google-libraries/trunk/use-google-libraries.php

    r1013621 r1145152  
    227227
    228228        static function configure_plugin() {
     229            if ( version_compare( get_bloginfo( 'version' ), '4.2', '>=') ) {
     230                self::debug( 'Not yet qualified with this version of WordPress. Bypassing UGL.' );
     231                return;
     232            }
    229233            add_action(
    230234                'wp_default_scripts',
Note: See TracChangeset for help on using the changeset viewer.