Version Description
- fix integration issue with Autoptimize, thx for reporting ElephantDude!
Download this release
Release Info
Developer | futtta |
Plugin | Async JavaScript |
Version | 2.18.06.13 |
Comparing to | |
See all releases |
Code changes from version 2.18.05.24 to 2.18.06.13
- async-javascript.php +1 -1
- asyncjsFrontendClass.php +1 -1
- asyncjsSettingsScreens.php +1 -1
- readme.txt +5 -1
async-javascript.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Async JavaScript
|
4 |
* Plugin URI: https://autoptimize.com/
|
5 |
* Description: Async JavaScript gives you full control of which scripts to add a 'async' or 'defer' attribute to or to exclude to help increase the performance of your WordPress website
|
6 |
-
* Version: 2.18.
|
7 |
* Author: Frank Goossens (futtta)
|
8 |
* Author URI: https://autoptimize.com/
|
9 |
* Text Domain: asyncjs
|
3 |
* Plugin Name: Async JavaScript
|
4 |
* Plugin URI: https://autoptimize.com/
|
5 |
* Description: Async JavaScript gives you full control of which scripts to add a 'async' or 'defer' attribute to or to exclude to help increase the performance of your WordPress website
|
6 |
+
* Version: 2.18.06.13
|
7 |
* Author: Frank Goossens (futtta)
|
8 |
* Author URI: https://autoptimize.com/
|
9 |
* Text Domain: asyncjs
|
asyncjsFrontendClass.php
CHANGED
@@ -147,7 +147,7 @@ class AsyncJavaScriptFrontend {
|
|
147 |
return " " . $aj_autoptimize_method . "='" . $aj_autoptimize_method . "' ";
|
148 |
}
|
149 |
}
|
150 |
-
return
|
151 |
}
|
152 |
|
153 |
/**
|
147 |
return " " . $aj_autoptimize_method . "='" . $aj_autoptimize_method . "' ";
|
148 |
}
|
149 |
}
|
150 |
+
return $defer;
|
151 |
}
|
152 |
|
153 |
/**
|
asyncjsSettingsScreens.php
CHANGED
@@ -146,7 +146,7 @@ echo $output;
|
|
146 |
<p><?php _e('If you have any active themes / plugins that <?php echo AJ_TITLE; ?> supports then these will be listed below.', 'asyncjs'); ?></p>
|
147 |
<p><?php _e('If you think you have found a plugin that <?php echo AJ_TITLE; ?> may be able to provide support for please lodge a ticket at <a href="https://wordpress.org/support/plugin/async-javascript" target="_blank">https://wordpress.org/support/plugin/async-javascript</a>', 'asyncjs'); ?></p>
|
148 |
<?php
|
149 |
-
if (is_plugin_active('autoptimize/autoptimize.php')) {
|
150 |
?>
|
151 |
<div class="aj_plugin">
|
152 |
<h4><?php _e('Plugin: Autoptimize', 'asyncjs'); ?></h4>
|
146 |
<p><?php _e('If you have any active themes / plugins that <?php echo AJ_TITLE; ?> supports then these will be listed below.', 'asyncjs'); ?></p>
|
147 |
<p><?php _e('If you think you have found a plugin that <?php echo AJ_TITLE; ?> may be able to provide support for please lodge a ticket at <a href="https://wordpress.org/support/plugin/async-javascript" target="_blank">https://wordpress.org/support/plugin/async-javascript</a>', 'asyncjs'); ?></p>
|
148 |
<?php
|
149 |
+
if (is_plugin_active('autoptimize/autoptimize.php') || is_plugin_active('autoptimize-beta/autoptimize.php')) {
|
150 |
?>
|
151 |
<div class="aj_plugin">
|
152 |
<h4><?php _e('Plugin: Autoptimize', 'asyncjs'); ?></h4>
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://blog.futtta.be/2013/10/21/do-not-donate-to-me/
|
|
4 |
Tags: async, javascript, pagespeed, performance, render blocking
|
5 |
Requires at least: 4.6
|
6 |
Tested up to: 4.9
|
7 |
-
Stable tag: 2.18.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -61,6 +61,10 @@ Coming soon!
|
|
61 |
|
62 |
== Changelog ==
|
63 |
|
|
|
|
|
|
|
|
|
64 |
= 2.18.05.24 =
|
65 |
|
66 |
* don't async (or defer) on AMP-pages
|
4 |
Tags: async, javascript, pagespeed, performance, render blocking
|
5 |
Requires at least: 4.6
|
6 |
Tested up to: 4.9
|
7 |
+
Stable tag: 2.18.06.13
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
61 |
|
62 |
== Changelog ==
|
63 |
|
64 |
+
= 2.18.06.13 =
|
65 |
+
|
66 |
+
* fix integration issue with Autoptimize, thx [for reporting](https://wordpress.org/support/topic/autoptimize-and-async-javascript/) ElephantDude!
|
67 |
+
|
68 |
= 2.18.05.24 =
|
69 |
|
70 |
* don't async (or defer) on AMP-pages
|