Head Cleaner - Version 1.4.2.5

Version Description

Download this release

Release Info

Developer wokamoto
Plugin Icon wp plugin Head Cleaner
Version 1.4.2.5
Comparing to
See all releases

Code changes from version 1.4.2.4 to 1.4.2.5

Files changed (3) hide show
  1. head-cleaner.php +11 -2
  2. readme.txt +2 -2
  3. readme_ja.txt +2 -2
head-cleaner.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: Head Cleaner
4
- Version: 1.4.2.4
5
  Plugin URI: http://wppluginsj.sourceforge.jp/head-cleaner/
6
  Description: Cleaning tags from your WordPress header and footer.
7
  Author: wokamoto
@@ -131,7 +131,7 @@ class HeadCleaner extends wokController {
131
  private $default_head_filters = array(
132
  'HeadCleaner::.*' ,
133
  'noindex' ,
134
- 'lambda_[\d]+' ,
135
  'rsd_link' ,
136
  'wlwmanifest_link' ,
137
  'wp_generator' ,
@@ -541,6 +541,15 @@ class HeadCleaner extends wokController {
541
  }
542
  }
543
  }
 
 
 
 
 
 
 
 
 
544
  unset($IE_conditional_tag);
545
 
546
  // Get <html> tag
1
  <?php
2
  /*
3
  Plugin Name: Head Cleaner
4
+ Version: 1.4.2.5
5
  Plugin URI: http://wppluginsj.sourceforge.jp/head-cleaner/
6
  Description: Cleaning tags from your WordPress header and footer.
7
  Author: wokamoto
131
  private $default_head_filters = array(
132
  'HeadCleaner::.*' ,
133
  'noindex' ,
134
+ '.*lambda_[\d]+' ,
135
  'rsd_link' ,
136
  'wlwmanifest_link' ,
137
  'wp_generator' ,
541
  }
542
  }
543
  }
544
+ if (!empty($html_tag)) {
545
+ $html_tag .= '<!--[if !(IE 6) | !(IE 7) | !(IE 8) ]><!-->' . "\n";
546
+ $html_tag .= (
547
+ $doctype == 'xhtml'
548
+ ? $this->_html_tag_normalize($this->_tag_trim('<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="'.$this->lang.'" lang="'.$this->lang.'">'), $doctype)
549
+ : $this->_html_tag_normalize($this->_tag_trim('<html dir="ltr" lang="'.$this->lang.'">'), $doctype)
550
+ ) . "\n";
551
+ $html_tag .= '<!--<![endif]-->' . "\n";
552
+ }
553
  unset($IE_conditional_tag);
554
 
555
  // Get <html> tag
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: wokamoto, megumithemes, Webnist, tai
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=9S8AJCY7XB8F4&lc=JP&item_name=WordPress%20Plugins&item_number=wp%2dplugins&currency_code=JPY&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted
4
  Tags: head, header, footer, javascript, css, optimization, minified, performance, facebook, OGP
5
  Requires at least: 2.5
6
- Tested up to: 3.2.1
7
- Stable tag: 1.4.2.4
8
 
9
  Cleaning tags from your WordPress header and footer.
10
 
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=9S8AJCY7XB8F4&lc=JP&item_name=WordPress%20Plugins&item_number=wp%2dplugins&currency_code=JPY&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted
4
  Tags: head, header, footer, javascript, css, optimization, minified, performance, facebook, OGP
5
  Requires at least: 2.5
6
+ Tested up to: 3.3-beta3
7
+ Stable tag: 1.4.2.5
8
 
9
  Cleaning tags from your WordPress header and footer.
10
 
readme_ja.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: wokamoto, megumithemes, Webnist, tai
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=9S8AJCY7XB8F4&lc=JP&item_name=WordPress%20Plugins&item_number=wp%2dplugins&currency_code=JPY&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted
4
  Tags: head optimization, javascript, css, optimization, minified, performance
5
  Requires at least: 2.5
6
- Tested up to: 3.2.1
7
- Stable tag: 1.4.2.4
8
 
9
  Head と footer をお掃除します。
10
 
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=9S8AJCY7XB8F4&lc=JP&item_name=WordPress%20Plugins&item_number=wp%2dplugins&currency_code=JPY&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted
4
  Tags: head optimization, javascript, css, optimization, minified, performance
5
  Requires at least: 2.5
6
+ Tested up to: 3.3-beta3
7
+ Stable tag: 1.4.2.5
8
 
9
  Head と footer をお掃除します。
10