Head Cleaner - Version 1.4.2.6

Version Description

Download this release

Release Info

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

Code changes from version 1.4.2.5 to 1.4.2.6

head-cleaner.php CHANGED
@@ -1,7 +1,7 @@
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
@@ -449,7 +449,7 @@ class HeadCleaner extends wokController {
449
  // filters info save
450
  //**************************************************************************************
451
  public function filters_save(){
452
- if ($this->_chk_filters_update()) {
453
  if ( $this->options['filters'] != $this->filters || $this->options['head_js'] != $this->head_js ) {
454
  $this->options['filters'] = $this->filters;
455
  $this->options['head_js'] = $this->head_js;
@@ -1283,7 +1283,7 @@ class HeadCleaner extends wokController {
1283
  // Get permalink
1284
  //**************************************************************************************
1285
  private function _get_permalink() {
1286
- $url = get_option('home');
1287
  if (! preg_match('|^(https?://[^/]*)|', $url, $host)) {
1288
  $host[1] = (empty($_SERVER['HTTPS']) || $_SERVER['HTTPS'] == 'off')
1289
  ? 'http://'
@@ -3253,5 +3253,4 @@ E__O__T;
3253
  //**************************************************************************************
3254
  global $head_cleaner;
3255
 
3256
- $head_cleaner = new HeadCleaner();
3257
- ?>
1
  <?php
2
  /*
3
  Plugin Name: Head Cleaner
4
+ Version: 1.4.2.6
5
  Plugin URI: http://wppluginsj.sourceforge.jp/head-cleaner/
6
  Description: Cleaning tags from your WordPress header and footer.
7
  Author: wokamoto
449
  // filters info save
450
  //**************************************************************************************
451
  public function filters_save(){
452
+ if ($this->_is_user_logged_in() && $this->_chk_filters_update()) {
453
  if ( $this->options['filters'] != $this->filters || $this->options['head_js'] != $this->head_js ) {
454
  $this->options['filters'] = $this->filters;
455
  $this->options['head_js'] = $this->head_js;
1283
  // Get permalink
1284
  //**************************************************************************************
1285
  private function _get_permalink() {
1286
+ $url = function_exists('home_url') ? home_url() : get_option('home');
1287
  if (! preg_match('|^(https?://[^/]*)|', $url, $host)) {
1288
  $host[1] = (empty($_SERVER['HTTPS']) || $_SERVER['HTTPS'] == 'off')
1289
  ? 'http://'
3253
  //**************************************************************************************
3254
  global $head_cleaner;
3255
 
3256
+ $head_cleaner = new HeadCleaner();
 
includes/regist_ajax_libs.php CHANGED
@@ -27,8 +27,10 @@ global $wp_version;
27
  if (!defined('AJAX_LIBS_GOOGLE')) define('AJAX_LIBS_GOOGLE', true);
28
  if (!defined('AJAX_LIBS_YUI')) define('AJAX_LIBS_YUI', true);
29
 
30
- $jquery_ver = '1.6.1';
31
- if (version_compare($wp_version, "3.2", ">"))
 
 
32
  $jquery_ver = '1.6.1';
33
  elseif (version_compare($wp_version, "3.1", ">="))
34
  $jquery_ver = '1.4.4';
27
  if (!defined('AJAX_LIBS_GOOGLE')) define('AJAX_LIBS_GOOGLE', true);
28
  if (!defined('AJAX_LIBS_YUI')) define('AJAX_LIBS_YUI', true);
29
 
30
+ $jquery_ver = '1.7.1';
31
+ if (version_compare($wp_version, "3.3", ">="))
32
+ $jquery_ver = '1.7.1';
33
+ elseif (version_compare($wp_version, "3.2", ">="))
34
  $jquery_ver = '1.6.1';
35
  elseif (version_compare($wp_version, "3.1", ">="))
36
  $jquery_ver = '1.4.4';
languages/head-cleaner-ro_RO.mo ADDED
Binary file
languages/head-cleaner-ro_RO.po ADDED
@@ -0,0 +1,193 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Head Cleaner\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2011-04-11 16:15+0900\n"
6
+ "PO-Revision-Date: \n"
7
+ "X-Poedit-Language: Romanian\n"
8
+ "X-Poedit-Country: Romania\n"
9
+ "Language-Team: Web Geeks\n"
10
+ "Last-Translator: \n"
11
+ "MIME-Version: 1.0\n"
12
+ "Content-Type: text/plain; charset=UTF-8\n"
13
+ "Content-Transfer-Encoding: 8bit\n"
14
+
15
+ # description
16
+ msgid "Cleaning tags from your WordPress header and footer."
17
+ msgstr "Curăţarea etichetele de la antetul şi subsolul WordPress."
18
+
19
+ #: ../head-cleaner.php:2028
20
+ msgid "Head Cleaner"
21
+ msgstr "Head Cleaner"
22
+
23
+ #: ../head-cleaner.php:2039
24
+ #: ../includes/common-controller.php:187
25
+ msgid "Settings"
26
+ msgstr "Setări"
27
+
28
+ #: ../head-cleaner.php:2096
29
+ #: ../head-cleaner.php:2104
30
+ #: ../head-cleaner.php:2112
31
+ msgid "Done!"
32
+ msgstr "Adoptată!"
33
+
34
+ #: ../head-cleaner.php:2124
35
+ msgid "Head Cleaner Options"
36
+ msgstr "Head Cleaner opţiuni"
37
+
38
+ #: ../head-cleaner.php:2133
39
+ msgid "CSS and JavaScript are cached on the server."
40
+ msgstr "CSS si JavaScript sunt memorate în cache pe server."
41
+
42
+ #: ../head-cleaner.php:2137
43
+ msgid "CSS and JS are dynamically generated."
44
+ msgstr "CSS si JS sunt generate dinamic."
45
+
46
+ #: ../head-cleaner.php:2140
47
+ msgid "Default media attribute applied to CSS."
48
+ msgstr "Atribut de media implicit aplicat CSS."
49
+
50
+ #: ../head-cleaner.php:2148
51
+ msgid "Two or more CSS is combined."
52
+ msgstr "Două sau mai multe CSS este combinat."
53
+
54
+ #: ../head-cleaner.php:2152
55
+ msgid "CSS is optimized."
56
+ msgstr "CSS este optimizat."
57
+
58
+ #: ../head-cleaner.php:2156
59
+ msgid "URLs of images in CSS will be converted into the data scheme URIs."
60
+ msgstr "URL-uri de imagini in CSS vor fi convertite în sistemul de date URI."
61
+
62
+ #: ../head-cleaner.php:2163
63
+ msgid "Two or more JavaScript is combined."
64
+ msgstr "Două sau mai multe JavaScript este combinat."
65
+
66
+ #: ../head-cleaner.php:2167
67
+ msgid "JavaScript is minified."
68
+ msgstr "JavaScript este minified."
69
+
70
+ #: ../head-cleaner.php:2171
71
+ msgid "Bottom JavaScript is combined, too."
72
+ msgstr "Jos JavaScript este combinat, prea."
73
+
74
+ #: ../head-cleaner.php:2178
75
+ msgid "Put JavaScripts at the Bottom."
76
+ msgstr "Pune JavaScripts la partea de jos."
77
+
78
+ #: ../head-cleaner.php:2182
79
+ msgid "Use Google Ajax Libraries."
80
+ msgstr "Utilizaţi Google Ajax biblioteci."
81
+
82
+ #: ../head-cleaner.php:2191
83
+ msgid "Add XML Declaration."
84
+ msgstr "Adauga XML Declaraţie."
85
+
86
+ #: ../head-cleaner.php:2195
87
+ msgid "Add canonical tag."
88
+ msgstr "Adăugaţi tag-canonic."
89
+
90
+ #: ../head-cleaner.php:2199
91
+ msgid "Add OGP(Open Graph Protocol) tags."
92
+ msgstr "Adauga OGP (Protocolul de la graficul Deschidere) tag-uri."
93
+
94
+ #: ../head-cleaner.php:2206
95
+ msgid "Add Last modified."
96
+ msgstr "Adauga Ultima modificare."
97
+
98
+ #: ../head-cleaner.php:2217
99
+ msgid "Remove generator tag."
100
+ msgstr "Eliminaţi eticheta generator."
101
+
102
+ #: ../head-cleaner.php:2221
103
+ msgid "Remove RSD link tag."
104
+ msgstr "Eliminaţi link tag RSD."
105
+
106
+ #: ../head-cleaner.php:2225
107
+ msgid "Remove wlwmanifest link tag."
108
+ msgstr "Eliminaţi eticheta wlwmanifest link-ul."
109
+
110
+ #: ../head-cleaner.php:2232
111
+ msgid "Remove IE Conditional Tag."
112
+ msgstr "Scoateţi Tag IE condiţionată."
113
+
114
+ #: ../head-cleaner.php:2245
115
+ msgid "Enabling \"<strong>paranoia mode</strong>\". Cut waste from the HTML and tries to minimize it."
116
+ msgstr "Activarea \"paranoia modul <strong> </strong>\". Tăiaţi deşeuri de HTML şi încearcă să-l minimalizeze."
117
+
118
+ #: ../head-cleaner.php:2249
119
+ msgid "Debug mode"
120
+ msgstr "Modul Debug"
121
+
122
+ #: ../head-cleaner.php:2257
123
+ msgid "Active Filters"
124
+ msgstr "Filtre active"
125
+
126
+ #: ../head-cleaner.php:2260
127
+ #: ../head-cleaner.php:2298
128
+ msgid "Don't process!"
129
+ msgstr "Nu proces!"
130
+
131
+ #: ../head-cleaner.php:2261
132
+ #: ../head-cleaner.php:2299
133
+ #: ../head-cleaner.php:2342
134
+ msgid "Remove"
135
+ msgstr "Eliminare"
136
+
137
+ #: ../head-cleaner.php:2262
138
+ msgid "Head filters"
139
+ msgstr "Filtre de cap"
140
+
141
+ #: ../head-cleaner.php:2264
142
+ #: ../head-cleaner.php:2302
143
+ msgid "Priority"
144
+ msgstr "Prioritate"
145
+
146
+ #: ../head-cleaner.php:2300
147
+ msgid "Bottom filters"
148
+ msgstr "Filtre de jos"
149
+
150
+ #: ../head-cleaner.php:2338
151
+ msgid "Active JavaScripts"
152
+ msgstr "Active JavaScripts"
153
+
154
+ #: ../head-cleaner.php:2341
155
+ msgid "Move to footer"
156
+ msgstr "Trece la subsol"
157
+
158
+ #: ../head-cleaner.php:2343
159
+ msgid "JavaScripts"
160
+ msgstr "JavaScript-uri"
161
+
162
+ #: ../head-cleaner.php:2357
163
+ msgid "Update Options"
164
+ msgstr "actualizaţi Opţiuni"
165
+
166
+ #: ../head-cleaner.php:2363
167
+ msgid "Remove all cache files"
168
+ msgstr "Eliminaţi toate fişierele cache"
169
+
170
+ #: ../head-cleaner.php:2367
171
+ msgid "All cache files are removed."
172
+ msgstr "Toate fişierele cache sunt eliminate."
173
+
174
+ #: ../head-cleaner.php:2368
175
+ msgid "Remove All Cache Files"
176
+ msgstr "Şterge toate fişierele cache"
177
+
178
+ #: ../head-cleaner.php:2373
179
+ msgid "Uninstall"
180
+ msgstr "Dezinstalare"
181
+
182
+ #: ../head-cleaner.php:2377
183
+ msgid "All the settings of \"Head Cleaner\" are deleted."
184
+ msgstr "Toate setările \"Cleaner cap\" se elimină."
185
+
186
+ #: ../head-cleaner.php:2378
187
+ msgid "Delete Options"
188
+ msgstr "Ştergeţi Opţiuni"
189
+
190
+ #: ../head-cleaner.php:2860
191
+ msgid "There is no excerpt because this is a protected post."
192
+ msgstr "Nu este nici un fragment, deoarece acesta este un post protejat."
193
+
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.3-beta3
7
- Stable tag: 1.4.2.5
8
 
9
  Cleaning tags from your WordPress header and footer.
10
 
@@ -47,6 +47,7 @@ To speed up the loading of JavaScript and CSS.
47
  * Japanese (ja) - [OKAMOTO Wataru](http://dogmap.jp/ "dogmap.jp") (plugin author)
48
  * Spanish (es) - [Franz Hartmann](http://tolingo.com/ "tolingo.com - Franz Hartmann")
49
  * Russian (ru) - [ilyuha](http://antsar.info/ "ilyuha")
 
50
  * Turkish (tr_TR) - [Hakan Demiray](http://www.dmry.net/ "Günlük Haftalık Aylık")
51
 
52
  If you have translated into your language, please let me know.
@@ -92,6 +93,9 @@ Head Cleaner Ver.1.1.5 includes 'php_browscap.ini' .
92
 
93
  == Changelog ==
94
 
 
 
 
95
  **1.4.2.3 - June 8, 2011**
96
  Support for WordPress 3.2.
97
 
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.1
7
+ Stable tag: 1.4.2.6
8
 
9
  Cleaning tags from your WordPress header and footer.
10
 
47
  * Japanese (ja) - [OKAMOTO Wataru](http://dogmap.jp/ "dogmap.jp") (plugin author)
48
  * Spanish (es) - [Franz Hartmann](http://tolingo.com/ "tolingo.com - Franz Hartmann")
49
  * Russian (ru) - [ilyuha](http://antsar.info/ "ilyuha")
50
+ * Romanian (ro_RO) - [Web Geek Sciense](http://webhostinggeeks.com/ "Web Hosting Geeks")
51
  * Turkish (tr_TR) - [Hakan Demiray](http://www.dmry.net/ "Günlük Haftalık Aylık")
52
 
53
  If you have translated into your language, please let me know.
93
 
94
  == Changelog ==
95
 
96
+ **1.4.2.6 - December 13, 2011**
97
+ Support for WordPress 3.3.
98
+
99
  **1.4.2.3 - June 8, 2011**
100
  Support for WordPress 3.2.
101
 
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.3-beta3
7
- Stable tag: 1.4.2.5
8
 
9
  Head と footer をお掃除します。
10
 
@@ -44,6 +44,7 @@ WordPress サイトの `<head>` の中身と、フッタ領域を整形しなお
44
  * Japanese (ja) - [OKAMOTO Wataru](http://dogmap.jp/ "dogmap.jp") (plugin author)
45
  * Spanish (es) - [Franz Hartmann](http://tolingo.com/ "tolingo.com - Franz Hartmann")
46
  * Russian (ru) - [ilyuha](http://antsar.info/ "ilyuha")
 
47
  * Turkish (tr_TR) - [Hakan Demiray](http://www.dmry.net/ "Günlük Haftalık Aylık")
48
 
49
 
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.1
7
+ Stable tag: 1.4.2.6
8
 
9
  Head と footer をお掃除します。
10
 
44
  * Japanese (ja) - [OKAMOTO Wataru](http://dogmap.jp/ "dogmap.jp") (plugin author)
45
  * Spanish (es) - [Franz Hartmann](http://tolingo.com/ "tolingo.com - Franz Hartmann")
46
  * Russian (ru) - [ilyuha](http://antsar.info/ "ilyuha")
47
+ * Romanian (ro_RO) - [Web Geek Sciense](http://webhostinggeeks.com/ "Web Hosting Geeks")
48
  * Turkish (tr_TR) - [Hakan Demiray](http://www.dmry.net/ "Günlük Haftalık Aylık")
49
 
50