Version Description
- FIX: Typo in variable name
Download this release
Release Info
Developer | cloughit |
Plugin | Async JavaScript |
Version | 1.16.08.17 |
Comparing to | |
See all releases |
Code changes from version 1.16.08.11 to 1.16.08.17
- async-javascript.php +3 -3
- 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
|
@@ -23,7 +23,7 @@ add_action( 'admin_init', 'aj_admin_init' );
|
|
23 |
function aj_admin_init() {
|
24 |
define( 'AJ_PLUGIN_URL', trailingslashit( plugin_dir_url( __FILE__ ) ) );
|
25 |
define( 'AJ_PLUGIN_DIR', trailingslashit( plugin_dir_path( __FILE__ ) ) );
|
26 |
-
define( 'AJ_VERSION', '1.16.08.
|
27 |
wp_register_style(
|
28 |
'aj_admin_styles',
|
29 |
plugins_url( '/css/admin.css', __FILE__ )
|
@@ -219,7 +219,7 @@ function async_js( $tag, $handle, $src ) {
|
|
219 |
}
|
220 |
}
|
221 |
if ( false !== strpos( strtolower( $src ), 'jquery.js' ) ) {
|
222 |
-
if ( $aj_jquery == 'async' || $
|
223 |
$tag = str_replace( 'src=', $aj_jquery . "='" . $aj_jquery . "' src=", $tag );
|
224 |
return $tag;
|
225 |
} else if ( $aj_jquery == 'exclude' ) {
|
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.17
|
8 |
Author: Clough I.T. Solutions
|
9 |
Author URI: http://www.cloughit.com.au/
|
10 |
Text Domain: async-javascript
|
23 |
function aj_admin_init() {
|
24 |
define( 'AJ_PLUGIN_URL', trailingslashit( plugin_dir_url( __FILE__ ) ) );
|
25 |
define( 'AJ_PLUGIN_DIR', trailingslashit( plugin_dir_path( __FILE__ ) ) );
|
26 |
+
define( 'AJ_VERSION', '1.16.08.17' );
|
27 |
wp_register_style(
|
28 |
'aj_admin_styles',
|
29 |
plugins_url( '/css/admin.css', __FILE__ )
|
219 |
}
|
220 |
}
|
221 |
if ( false !== strpos( strtolower( $src ), 'jquery.js' ) ) {
|
222 |
+
if ( $aj_jquery == 'async' || $aj_jquery == 'defer' ) {
|
223 |
$tag = str_replace( 'src=', $aj_jquery . "='" . $aj_jquery . "' src=", $tag );
|
224 |
return $tag;
|
225 |
} else if ( $aj_jquery == 'exclude' ) {
|
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 <a href="https://cloughit.com.au/support/?wpsc
|
|
70 |
|
71 |
== Changelog ==
|
72 |
|
|
|
|
|
|
|
|
|
73 |
= 1.16.08.11 =
|
74 |
|
75 |
* NEW: Select jQuery handler
|
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.17
|
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.17 =
|
74 |
+
|
75 |
+
* FIX: Typo in variable name
|
76 |
+
|
77 |
= 1.16.08.11 =
|
78 |
|
79 |
* NEW: Select jQuery handler
|