Version Description
- FIX: Return $tag instead of $src
Download this release
Release Info
Developer | cloughit |
Plugin | Async JavaScript |
Version | 1.16.08.10 |
Comparing to | |
See all releases |
Code changes from version 1.16.08.09 to 1.16.08.10
- async-javascript.php +2 -2
- readme.txt +5 -1
async-javascript.php
CHANGED
@@ -4,7 +4,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
4 |
Plugin Name: Async JavaScript
|
5 |
Plugin URI: https://cloughit.com.au/product/async-javascript/
|
6 |
Description: Async JavaScript adds a 'async' or 'defer' attribute to scripts loaded via wp_enqueue_script
|
7 |
-
Version: 1.16.08.
|
8 |
Author: Clough I.T. Solutions
|
9 |
Author URI: http://www.cloughit.com.au/
|
10 |
Text Domain: async-javascript
|
@@ -199,7 +199,7 @@ function async_js( $tag, $handle, $src ) {
|
|
199 |
$exclusion = trim( $exclusion );
|
200 |
if ( $exclusion != '' ) {
|
201 |
if ( false !== strpos( strtolower( $src ), strtolower( $exclusion ) ) ) {
|
202 |
-
return $
|
203 |
}
|
204 |
}
|
205 |
}
|
4 |
Plugin Name: Async JavaScript
|
5 |
Plugin URI: https://cloughit.com.au/product/async-javascript/
|
6 |
Description: Async JavaScript adds a 'async' or 'defer' attribute to scripts loaded via wp_enqueue_script
|
7 |
+
Version: 1.16.08.10
|
8 |
Author: Clough I.T. Solutions
|
9 |
Author URI: http://www.cloughit.com.au/
|
10 |
Text Domain: async-javascript
|
199 |
$exclusion = trim( $exclusion );
|
200 |
if ( $exclusion != '' ) {
|
201 |
if ( false !== strpos( strtolower( $src ), strtolower( $exclusion ) ) ) {
|
202 |
+
return $tag;
|
203 |
}
|
204 |
}
|
205 |
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.cloughit.com.au/donate/ (coming soon)
|
|
4 |
Tags: async,javascript,google,pagespeed,js,speed,performance,boost,render,blocking,above-the-fold
|
5 |
Requires at least: 2.8
|
6 |
Tested up to: 4.6
|
7 |
-
Stable tag: 1.16.08.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -70,6 +70,10 @@ Please lodge a support request at https://wordpress.org/support/plugin/async-jav
|
|
70 |
|
71 |
== Changelog ==
|
72 |
|
|
|
|
|
|
|
|
|
73 |
= 1.16.08.09 =
|
74 |
|
75 |
* MOD: Added ability to check for spaces in comma separated exclusion list
|
4 |
Tags: async,javascript,google,pagespeed,js,speed,performance,boost,render,blocking,above-the-fold
|
5 |
Requires at least: 2.8
|
6 |
Tested up to: 4.6
|
7 |
+
Stable tag: 1.16.08.10
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
70 |
|
71 |
== Changelog ==
|
72 |
|
73 |
+
= 1.16.08.10 =
|
74 |
+
|
75 |
+
* FIX: Return $tag instead of $src
|
76 |
+
|
77 |
= 1.16.08.09 =
|
78 |
|
79 |
* MOD: Added ability to check for spaces in comma separated exclusion list
|