Changeset 1486614
- Timestamp:
- 08/30/2016 05:53:23 PM (9 years ago)
- Location:
- wp-theme-optimizer
- Files:
-
- 11 edited
- 15 copied
-
tags/1.1.0 (copied) (copied from wp-theme-optimizer/trunk)
-
tags/1.1.0/README.md (modified) (3 diffs)
-
tags/1.1.0/README.txt (copied) (copied from wp-theme-optimizer/trunk/README.txt) (3 diffs)
-
tags/1.1.0/admin/class-wpto-admin.php (copied) (copied from wp-theme-optimizer/trunk/admin/class-wpto-admin.php) (2 diffs)
-
tags/1.1.0/admin/css/wpto-admin.css (copied) (copied from wp-theme-optimizer/trunk/admin/css/wpto-admin.css)
-
tags/1.1.0/admin/js/wpto-admin.js (copied) (copied from wp-theme-optimizer/trunk/admin/js/wpto-admin.js)
-
tags/1.1.0/admin/partials/wpto-admin-display.php (copied) (copied from wp-theme-optimizer/trunk/admin/partials/wpto-admin-display.php) (2 diffs)
-
tags/1.1.0/admin/partials/wpto_wc.php (copied) (copied from wp-theme-optimizer/trunk/admin/partials/wpto_wc.php) (1 diff)
-
tags/1.1.0/includes/class-wpto-activator.php (copied) (copied from wp-theme-optimizer/trunk/includes/class-wpto-activator.php)
-
tags/1.1.0/includes/class-wpto-deactivator.php (copied) (copied from wp-theme-optimizer/trunk/includes/class-wpto-deactivator.php)
-
tags/1.1.0/includes/class-wpto-i18n.php (copied) (copied from wp-theme-optimizer/trunk/includes/class-wpto-i18n.php)
-
tags/1.1.0/includes/class-wpto-loader.php (copied) (copied from wp-theme-optimizer/trunk/includes/class-wpto-loader.php) (1 diff)
-
tags/1.1.0/includes/class-wpto.php (copied) (copied from wp-theme-optimizer/trunk/includes/class-wpto.php) (1 diff)
-
tags/1.1.0/public/class-wpto-public.php (copied) (copied from wp-theme-optimizer/trunk/public/class-wpto-public.php) (1 diff)
-
tags/1.1.0/uninstall.php (copied) (copied from wp-theme-optimizer/trunk/uninstall.php) (1 diff)
-
tags/1.1.0/wpto.php (copied) (copied from wp-theme-optimizer/trunk/wpto.php) (1 diff)
-
trunk/README.md (modified) (3 diffs)
-
trunk/README.txt (modified) (3 diffs)
-
trunk/admin/class-wpto-admin.php (modified) (2 diffs)
-
trunk/admin/partials/wpto-admin-display.php (modified) (2 diffs)
-
trunk/admin/partials/wpto_wc.php (modified) (1 diff)
-
trunk/includes/class-wpto-loader.php (modified) (1 diff)
-
trunk/includes/class-wpto.php (modified) (1 diff)
-
trunk/public/class-wpto-public.php (modified) (1 diff)
-
trunk/uninstall.php (modified) (1 diff)
-
trunk/wpto.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-theme-optimizer/tags/1.1.0/README.md
r1464043 r1486614 7 7 8 8 9 This WordPress plugin allows you to optimize your WordPress theme header by removing excess tags and scripts. 9 This WordPress plugin allows you to optimize your WordPress theme header by removing excess tags and scripts. 10 10 11 11 … … 42 42 * Remove Yoast SEO comments in front-end HTML<br> 43 43 * Option to Minify front-end HTML<br> 44 * Remove DNS prefetch tags<br> 44 45 45 46 … … 50 51 * <a href="https://github.com/dsgnr/WP-Theme-Optimizer/issues">Submit an issue</a> 51 52 * <a href="mailto:[email protected]">Email Us</a> 52 53 54 -
wp-theme-optimizer/tags/1.1.0/README.txt
r1464449 r1486614 4 4 Tags: theme, optimiser, optimizer, remove query strings from static resources, remove header information 5 5 Requires at least: 3.0.1 6 Tested up to: 4. 5.37 Stable tag: 4. 5.36 Tested up to: 4.6 7 Stable tag: 4.6 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 23 23 == Changelog == 24 24 25 = 1.1.0 = 26 27 * Fixed a few bugs. 28 * Added removal of DNS prefetch. 29 25 30 = 1.0.1 = 26 31 … … 29 34 * Added activate/deactivate all button. 30 35 * Changed spellings to be consistent between UK/US spellings. 36 31 37 32 38 = 1.0.0 = -
wp-theme-optimizer/tags/1.1.0/admin/class-wpto-admin.php
r1464448 r1486614 84 84 * class. 85 85 */ 86 if ( 'settings_page_wpto' == get_current_screen() -> id ) {86 if ( 'settings_page_wpto' == get_current_screen() -> id ) { 87 87 wp_enqueue_media(); 88 88 wp_enqueue_script( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'js/wpto-admin.js', array( 'jquery' ), $this->version, false ); 89 89 } 90 91 90 } 92 91 … … 166 165 $valid['remove_wp_post_links'] = (isset($input['remove_wp_post_links']) && !empty($input['remove_wp_post_links'])) ? 1 : 0; 167 166 $valid['remove_pingback'] = (isset($input['remove_pingback']) && !empty($input['remove_pingback'])) ? 1 : 0; 167 $valid['remove_dns_prefetch'] = (isset($input['remove_dns_prefetch']) && !empty($input['remove_dns_prefetch'])) ? 1 : 0; 168 168 169 169 // Yoast -
wp-theme-optimizer/tags/1.1.0/admin/partials/wpto-admin-display.php
r1464448 r1486614 48 48 $remove_wp_post_links = $options['remove_wp_post_links']; 49 49 $remove_pingback = $options['remove_pingback']; 50 $remove_dns_prefetch = $options['remove_dns_prefetch']; 50 51 51 52 … … 92 93 require_once('wpto_theme_links.php'); 93 94 require_once('wpto_misc.php'); 94 95 require_once('wpto_wc.php'); 95 96 if ( class_exists( 'WooCommerce' ) ) { 96 97 require_once('wpto_wc.php'); -
wp-theme-optimizer/tags/1.1.0/admin/partials/wpto_wc.php
r1464448 r1486614 1 <?php1 <?php 2 2 3 3 /** -
wp-theme-optimizer/tags/1.1.0/includes/class-wpto-loader.php
r1464448 r1486614 1 2 1 <?php 3 2 /** -
wp-theme-optimizer/tags/1.1.0/includes/class-wpto.php
r1464448 r1486614 195 195 $this->loader->add_action( 'after_setup_theme', $plugin_public, 'wpto_remove_wp_shortlink'); 196 196 $this->loader->add_action( 'after_setup_theme', $plugin_public, 'wpto_remove_wp_post_links'); 197 $this->loader->add_action( 'after_setup_theme', $plugin_public, 'wpto_remove_dns_prefetch'); 197 198 // Yoast 198 199 $this->loader->add_action( 'after_setup_theme', $plugin_public, 'wpto_remove_yoast_information'); -
wp-theme-optimizer/tags/1.1.0/public/class-wpto-public.php
r1464448 r1486614 211 211 } 212 212 213 213 // Remove DNS Prefetch 214 public function wpto_remove_dns_prefetch( ) { 215 if(!empty($this->wpto_options['remove_dns_prefetch'])){ 216 remove_action( 'wp_head', 'wp_resource_hints', 2 ); 217 } 218 } 214 219 /* WOOCOMMERCE 215 220 -
wp-theme-optimizer/tags/1.1.0/uninstall.php
r1464448 r1486614 1 2 1 <?php 3 2 -
wp-theme-optimizer/tags/1.1.0/wpto.php
r1464448 r1486614 11 11 * Plugin URI: www.themeoptimizer.io 12 12 * Description: Optimize your WordPress theme header by removing excess tags and scripts. Make your site faster and more secure by hiding WordPress tags. 13 * Version: 1. 0.113 * Version: 1.1.0 14 14 * Author: Studio Touch (Daniel Hand) 15 15 * Author URI: https://www.designsbytouch.co.uk -
wp-theme-optimizer/trunk/README.md
r1464043 r1486614 7 7 8 8 9 This WordPress plugin allows you to optimize your WordPress theme header by removing excess tags and scripts. 9 This WordPress plugin allows you to optimize your WordPress theme header by removing excess tags and scripts. 10 10 11 11 … … 42 42 * Remove Yoast SEO comments in front-end HTML<br> 43 43 * Option to Minify front-end HTML<br> 44 * Remove DNS prefetch tags<br> 44 45 45 46 … … 50 51 * <a href="https://github.com/dsgnr/WP-Theme-Optimizer/issues">Submit an issue</a> 51 52 * <a href="mailto:[email protected]">Email Us</a> 52 53 54 -
wp-theme-optimizer/trunk/README.txt
r1464449 r1486614 4 4 Tags: theme, optimiser, optimizer, remove query strings from static resources, remove header information 5 5 Requires at least: 3.0.1 6 Tested up to: 4. 5.37 Stable tag: 4. 5.36 Tested up to: 4.6 7 Stable tag: 4.6 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 23 23 == Changelog == 24 24 25 = 1.1.0 = 26 27 * Fixed a few bugs. 28 * Added removal of DNS prefetch. 29 25 30 = 1.0.1 = 26 31 … … 29 34 * Added activate/deactivate all button. 30 35 * Changed spellings to be consistent between UK/US spellings. 36 31 37 32 38 = 1.0.0 = -
wp-theme-optimizer/trunk/admin/class-wpto-admin.php
r1464448 r1486614 84 84 * class. 85 85 */ 86 if ( 'settings_page_wpto' == get_current_screen() -> id ) {86 if ( 'settings_page_wpto' == get_current_screen() -> id ) { 87 87 wp_enqueue_media(); 88 88 wp_enqueue_script( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'js/wpto-admin.js', array( 'jquery' ), $this->version, false ); 89 89 } 90 91 90 } 92 91 … … 166 165 $valid['remove_wp_post_links'] = (isset($input['remove_wp_post_links']) && !empty($input['remove_wp_post_links'])) ? 1 : 0; 167 166 $valid['remove_pingback'] = (isset($input['remove_pingback']) && !empty($input['remove_pingback'])) ? 1 : 0; 167 $valid['remove_dns_prefetch'] = (isset($input['remove_dns_prefetch']) && !empty($input['remove_dns_prefetch'])) ? 1 : 0; 168 168 169 169 // Yoast -
wp-theme-optimizer/trunk/admin/partials/wpto-admin-display.php
r1464448 r1486614 48 48 $remove_wp_post_links = $options['remove_wp_post_links']; 49 49 $remove_pingback = $options['remove_pingback']; 50 $remove_dns_prefetch = $options['remove_dns_prefetch']; 50 51 51 52 … … 92 93 require_once('wpto_theme_links.php'); 93 94 require_once('wpto_misc.php'); 94 95 require_once('wpto_wc.php'); 95 96 if ( class_exists( 'WooCommerce' ) ) { 96 97 require_once('wpto_wc.php'); -
wp-theme-optimizer/trunk/admin/partials/wpto_wc.php
r1464448 r1486614 1 <?php1 <?php 2 2 3 3 /** -
wp-theme-optimizer/trunk/includes/class-wpto-loader.php
r1464448 r1486614 1 2 1 <?php 3 2 /** -
wp-theme-optimizer/trunk/includes/class-wpto.php
r1464448 r1486614 195 195 $this->loader->add_action( 'after_setup_theme', $plugin_public, 'wpto_remove_wp_shortlink'); 196 196 $this->loader->add_action( 'after_setup_theme', $plugin_public, 'wpto_remove_wp_post_links'); 197 $this->loader->add_action( 'after_setup_theme', $plugin_public, 'wpto_remove_dns_prefetch'); 197 198 // Yoast 198 199 $this->loader->add_action( 'after_setup_theme', $plugin_public, 'wpto_remove_yoast_information'); -
wp-theme-optimizer/trunk/public/class-wpto-public.php
r1464448 r1486614 211 211 } 212 212 213 213 // Remove DNS Prefetch 214 public function wpto_remove_dns_prefetch( ) { 215 if(!empty($this->wpto_options['remove_dns_prefetch'])){ 216 remove_action( 'wp_head', 'wp_resource_hints', 2 ); 217 } 218 } 214 219 /* WOOCOMMERCE 215 220 -
wp-theme-optimizer/trunk/uninstall.php
r1464448 r1486614 1 2 1 <?php 3 2 -
wp-theme-optimizer/trunk/wpto.php
r1464448 r1486614 11 11 * Plugin URI: www.themeoptimizer.io 12 12 * Description: Optimize your WordPress theme header by removing excess tags and scripts. Make your site faster and more secure by hiding WordPress tags. 13 * Version: 1. 0.113 * Version: 1.1.0 14 14 * Author: Studio Touch (Daniel Hand) 15 15 * Author URI: https://www.designsbytouch.co.uk
Note: See TracChangeset
for help on using the changeset viewer.