Changeset 1650123
- Timestamp:
- 05/03/2017 07:23:01 AM (9 years ago)
- Location:
- async-javascript/trunk
- Files:
-
- 3 edited
-
async-javascript.php (modified) (4 diffs)
-
css/admin.css (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
async-javascript/trunk/async-javascript.php
r1650043 r1650123 5 5 Plugin URI: https://cloughit.com.au/product/async-javascript/ 6 6 Description: Async JavaScript adds a 'async' or 'defer' attribute to scripts loaded via wp_enqueue_script 7 Version: 2.17.05.0 37 Version: 2.17.05.04 8 8 Author: Clough I.T. Solutions 9 9 Author URI: http://www.cloughit.com.au/ … … 18 18 * 19 19 */ 20 add_action( ' admin_init', 'aj_admin_init' );20 add_action( 'init', 'aj_admin_init' ); 21 21 function aj_admin_init() { 22 define( 'AJ_TITLE', 'Async JavaScript' ); 23 define( 'AJ_ADMIN_MENU_SLUG', 'async-javascript' ); 24 define( 'AJ_ADMIN_ICON_URL', 'dashicons-performance' ); 25 define( 'AJ_ADMIN_POSITION', 3 ); 26 define( 'AJ_ADMIN_URL', trailingslashit( admin_url() ) ); 22 27 define( 'AJ_PLUGIN_URL', trailingslashit( plugin_dir_url( __FILE__ ) ) ); 23 28 define( 'AJ_PLUGIN_DIR', trailingslashit( plugin_dir_path( __FILE__ ) ) ); 24 define( 'AJ_VERSION', '2.17.05.0 3' );29 define( 'AJ_VERSION', '2.17.05.04' ); 25 30 require_once( AJ_PLUGIN_DIR . 'lib/gtmetrix/class.Services_WTF_Test.php' ); 26 wp_register_style( 31 } 32 /** 33 * aj_enqueue_scripts() 34 * 35 * Register admin stylesheets and javascripts 36 * 37 */ 38 add_action( 'wp_enqueue_scripts', 'aj_enqueue_scripts' ); 39 add_action( 'admin_enqueue_scripts', 'aj_enqueue_scripts' ); 40 function aj_enqueue_scripts() { 41 wp_register_style( 27 42 'aj_admin_styles', 28 43 plugins_url( '/css/admin.min.css', __FILE__ ) … … 133 148 $report_url = '<a href="' . $report . '" target="_blank">' . $report . '</a>'; 134 149 ?> 135 <p id="aj_latest_please_wait"><img src="<?php echo AJ_PLUGIN_URL; ?>images/loading.gif" title="Please Wait" alt="Please Wait" class="aj_step_img"></p>136 150 <table id="aj_latest_gtmetrix_results" class="form-table aj-steps-table" width="100%" cellpadding="10"> 137 151 <tr> … … 269 283 <td scope="row" align="left" style="vertical-align: top !important;"> 270 284 <h3>Step 1: GTmetrix API Key</h3> 271 <p><strong><em>Please Note:</em></strong> You do not have to use this Wizard. All settings can be changed under the <a href="<?php echo menu_page_url( AJ_ADMIN_MENU_SLUG, false ) . '&tab=settings'; ?>">Settings</a> tab.</p>285 <p><strong><em>Please Note:</em></strong>You do not have to use this Wizard. All settings can be changed under the <a href="<?php echo menu_page_url( AJ_ADMIN_MENU_SLUG, false ) . '&tab=settings'; ?>">Settings</a> tab.</p> 272 286 <hr /> 273 287 <p>If you haven't already done so, grab an API Key from GTmetrix so that Async JavaScript can obtain your PageSpeed / YSlow results. Here's how:</p> -
async-javascript/trunk/css/admin.css
r1650043 r1650123 44 44 } 45 45 .aj_field_error { 46 border:solid 1px # FF0000!important;46 border:solid 1px #00ffff !important; 47 47 } 48 48 #aj_notification { -
async-javascript/trunk/readme.txt
r1650043 r1650123 3 3 Donate link: http://www.cloughit.com.au/donate/ (coming soon) 4 4 Tags: async,javascript,google,pagespeed,js,speed,performance,boost,render,blocking,above-the-fold 5 Requires at least: 4.45 Requires at least: 2.8 6 6 Tested up to: 4.7.4 7 Stable tag: 2.17.0 4.257 Stable tag: 2.17.05.04 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 102 102 == Changelog == 103 103 104 = 2.17.05.04 = 105 106 * FIX: CSS / JS not loading 107 104 108 = 2.17.05.03 = 105 109 106 * MOD: Add test to explainrunning Wizard is not mandatory110 * MOD: Add test to advise running Wizard is not mandatory 107 111 108 112 = 2.17.04.25 =
Note: See TracChangeset
for help on using the changeset viewer.