Changeset 903015 for scripts-to-footerphp
- Timestamp:
- 04/26/2014 05:39:10 AM (12 years ago)
- Location:
- scripts-to-footerphp/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (3 diffs)
-
scripts-to-footer.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
scripts-to-footerphp/trunk/readme.txt
r863518 r903015 4 4 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FGQXZEW8S9UPC 5 5 Requires at least: 3.0.1 6 Tested up to: 3. 8.17 Stable tag: 0. 26 Tested up to: 3.9 7 Stable tag: 0.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 37 37 == Changelog == 38 38 39 = 0.3 = 40 Added conditional to disable on plugin on admin dashboard, version bump. 41 39 42 = 0.2 = 40 43 Updating code to be object-oriented and added page metabox to disable plugin on specific pages. … … 45 48 == Upgrade Notice == 46 49 50 = 0.3 = 51 Adds safeguard to avoid conflicts on admin dashboard. 52 47 53 = 0.2 = 48 54 This upgrade adds options to disable plugin on specific pages. -
scripts-to-footerphp/trunk/scripts-to-footer.php
r863518 r903015 13 13 * Plugin URI: http://wordpress.org/plugins/scripts-to-footerphp/ 14 14 * Description: Moves scripts to the footer to decrease page load times, while keeping stylesheets in the header. Requires that plugins and theme correctly utilizes wp_enqueue_scripts hook. Can be disabled via a checkbox on specific pages and posts. 15 * Version: 0. 215 * Version: 0.3 16 16 * Author: Joshua David Nelson 17 17 * Author URI: http://joshuadnelson.com … … 44 44 // Plugin Verison 45 45 if( !defined( 'STF_VERSION' ) ) 46 define( 'STF_VERSION', '0. 2' );46 define( 'STF_VERSION', '0.3' ); 47 47 48 48 /** … … 100 100 $excluded_pages = get_post_meta( get_queried_object_id(), 'stf_exclude', true ); 101 101 102 if( 'on' != $excluded_pages) {102 if( 'on' !== $excluded_pages && !is_admin() ) { 103 103 remove_action( 'wp_head', 'wp_print_scripts' ); 104 104 remove_action( 'wp_head', 'wp_print_head_scripts', 9 );
Note: See TracChangeset
for help on using the changeset viewer.