Async JavaScript - Version 1.16.03.10

Version Description

Download this release

Release Info

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

Code changes from version 1.16.02.18 to 1.16.03.10

Files changed (2) hide show
  1. async-javascript.php +7 -3
  2. readme.txt +1 -1
async-javascript.php CHANGED
@@ -2,9 +2,9 @@
2
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3
  /*
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.18
8
  Author: David Clough (cloughit)
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.02.18' );
27
  wp_register_style(
28
  'aj_admin_styles',
29
  plugins_url('/css/admin.css',__FILE__)
@@ -36,6 +36,10 @@ function aj_admin_init() {
36
  time()
37
  );
38
  wp_localize_script( 'aj_admin_scripts', 'aj', array( 'ajaxurl' => admin_url( 'admin-ajax.php' ) ) );
 
 
 
 
39
  }
40
  /**
41
  * async_javascript_menu()
2
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3
  /*
4
  Plugin Name: Async Javascript
5
+ Plugin URI: http://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.03.10
8
  Author: David Clough (cloughit)
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.03.10' );
27
  wp_register_style(
28
  'aj_admin_styles',
29
  plugins_url('/css/admin.css',__FILE__)
36
  time()
37
  );
38
  wp_localize_script( 'aj_admin_scripts', 'aj', array( 'ajaxurl' => admin_url( 'admin-ajax.php' ) ) );
39
+ register_setting( 'aj_options', 'aj_enabled' );
40
+ register_setting( 'aj_options', 'aj_method' );
41
+ register_setting( 'aj_options', 'aj_exclusions' );
42
+ register_setting( 'aj_options', 'autoptimize_enabled' );
43
  }
44
  /**
45
  * async_javascript_menu()
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.18
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
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.03.10
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10