Async JavaScript - Version 1.16.02.17

Version Description

  • NEW: Added information for Async Javascript Pro
Download this release

Release Info

Developer cloughit
Plugin Icon 128x128 Async JavaScript
Version 1.16.02.17
Comparing to
See all releases

Code changes from version 1.16.02.16 to 1.16.02.17

Files changed (2) hide show
  1. async-javascript.php +4 -2
  2. readme.txt +2 -2
async-javascript.php CHANGED
@@ -4,7 +4,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
4
  Plugin Name: Async Javascript
5
  Plugin URI: http://www.cloughit.com.au/wordpress/plugins/async-javascript-wordpress-plugin/
6
  Description: Async Javascript adds a 'async' or 'defer' attribute to scripts loaded via wp_enqueue_script
7
- Version: 1.16.02.16
8
  Author: David Clough (cloughit)
9
  Author URI: http://www.cloughit.com.au/
10
  Text Domain: async-javascript
@@ -21,6 +21,8 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
21
  */
22
  add_action('admin_init','aj_admin_init');
23
  function aj_admin_init() {
 
 
24
  wp_register_style(
25
  'aj_admin_styles',
26
  plugins_url('/css/admin.css',__FILE__)
@@ -136,7 +138,7 @@ function async_javascript_admin() {
136
  <input type="submit" name="Submit" value="Update" />
137
  </td>
138
  <td style="width:33%;">
139
- <a href="http://cloughit.com.au/product/async-javascript-pro/" target="_blank"><img src="images/async-javascript-pro.jpg"></a>
140
  </td>
141
  </tr>
142
  </tbody>
4
  Plugin Name: Async Javascript
5
  Plugin URI: http://www.cloughit.com.au/wordpress/plugins/async-javascript-wordpress-plugin/
6
  Description: Async Javascript adds a 'async' or 'defer' attribute to scripts loaded via wp_enqueue_script
7
+ Version: 1.16.02.17
8
  Author: David Clough (cloughit)
9
  Author URI: http://www.cloughit.com.au/
10
  Text Domain: async-javascript
21
  */
22
  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
  wp_register_style(
27
  'aj_admin_styles',
28
  plugins_url('/css/admin.css',__FILE__)
138
  <input type="submit" name="Submit" value="Update" />
139
  </td>
140
  <td style="width:33%;">
141
+ <a href="http://cloughit.com.au/product/async-javascript-pro/" target="_blank"><img src="<?php echo AJ_PLUGIN_URL; ?>images/async-javascript-pro.jpg"></a>
142
  </td>
143
  </tr>
144
  </tbody>
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.4.2
7
- Stable tag: 1.16.02.16
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -62,7 +62,7 @@ Please lodge a support request at https://wordpress.org/support/plugin/async-jav
62
 
63
  == Changelog ==
64
 
65
- = 1.16.02.16 =
66
 
67
  * NEW: Added information for Async Javascript Pro
68
 
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.4.2
7
+ Stable tag: 1.16.02.17
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
62
 
63
  == Changelog ==
64
 
65
+ = 1.16.02.17 =
66
 
67
  * NEW: Added information for Async Javascript Pro
68