WP Total Hacks - Version 1.2.0

Version Description

Download this release

Release Info

Developer miyauchi
Plugin Icon wp plugin WP Total Hacks
Version 1.2.0
Comparing to
See all releases

Code changes from version 1.1.3 to 1.2.0

includes/admin.php CHANGED
@@ -67,6 +67,10 @@ private $translators = array(
67
  'lang' => 'Greek',
68
  'url' => 'https://www.facebook.com/darkosxrc'
69
  ),
 
 
 
 
70
  );
71
  private $role = 'manage_options';
72
  private $plugin_url = '';
67
  'lang' => 'Greek',
68
  'url' => 'https://www.facebook.com/darkosxrc'
69
  ),
70
+ 'Branco' => array(
71
+ 'lang' => 'Slovak',
72
+ 'url' => 'http://webhostinggeeks.com/'
73
+ ),
74
  );
75
  private $role = 'manage_options';
76
  private $plugin_url = '';
languages/wp-total-hacks-sk_SK.mo ADDED
Binary file
languages/wp-total-hacks-sk_SK.po ADDED
@@ -0,0 +1,304 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: \n"
4
+ "POT-Creation-Date: \n"
5
+ "PO-Revision-Date: \n"
6
+ "Last-Translator: Branco <brradenovich@gmail.com>\n"
7
+ "Language-Team: \n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "X-Generator: Poedit 1.5.5\n"
12
+
13
+ #: includes/admin.php:231 includes/form/appearance.php:11
14
+ #: includes/form/appearance.php:35 includes/form/site.php:9
15
+ #: includes/form/site.php:19
16
+ msgid "Select File"
17
+ msgstr "Výber súboru"
18
+
19
+ #: includes/admin.php:364
20
+ msgid "Saved."
21
+ msgstr "Uložené."
22
+
23
+ #: includes/admin.php:371
24
+ msgid "Save Changes"
25
+ msgstr "Uložiť zmeny"
26
+
27
+ #: includes/admin.php:416
28
+ msgid "Deactivate"
29
+ msgstr "Deaktivova"
30
+
31
+ #: includes/admin.php:418 includes/admin.php:420
32
+ msgid "Activate"
33
+ msgstr "Aktivova"
34
+
35
+ #: includes/form/appearance.php:3
36
+ msgid "Appearance in admin"
37
+ msgstr "Vzhµad v admin"
38
+
39
+ #: includes/form/appearance.php:6
40
+ msgid "Change admin header logo"
41
+ msgstr "Zmena admin hlavièku logo"
42
+
43
+ #: includes/form/appearance.php:8
44
+ msgid "Upload %s x %s pixel image for admin header logo."
45
+ msgstr "Nahra» %s x %s obrazových bodov pre admin hlavièku logo."
46
+
47
+ #: includes/form/appearance.php:16
48
+ msgid "Change admin footer text"
49
+ msgstr "Zmena admin päta text"
50
+
51
+ #: includes/form/appearance.php:18
52
+ msgid "You can edit admin footer text. Line breaks will remove."
53
+ msgstr "Môzete upravova» admin text päty. Konce riadkov odstráni."
54
+
55
+ #: includes/form/appearance.php:29
56
+ msgid "Change login logo"
57
+ msgstr "Zmena login logo"
58
+
59
+ #: includes/form/appearance.php:34
60
+ msgid "Logo"
61
+ msgstr "Logo"
62
+
63
+ #: includes/form/appearance.php:36
64
+ msgid "URL"
65
+ msgstr "URL"
66
+
67
+ #: includes/form/appearance.php:38
68
+ msgid "Title"
69
+ msgstr "Názov"
70
+
71
+ #: includes/form/footer.php:2
72
+ msgid "Translators"
73
+ msgstr "Prekladatelia"
74
+
75
+ #: includes/form/footer.php:7
76
+ msgid "Contributors"
77
+ msgstr "Prispievatelia"
78
+
79
+ #: includes/form/other.php:2
80
+ msgid "Other"
81
+ msgstr "Ďalšie"
82
+
83
+ #: includes/form/other.php:5
84
+ msgid "Deactivate Dashboard Widgets"
85
+ msgstr "Deaktivova Dashboard Widget"
86
+
87
+ #: includes/form/other.php:7 includes/form/post.php:8
88
+ #: includes/form/post.php:27
89
+ msgid "Choose the items you want to remove."
90
+ msgstr "Vyberte polozky, ktoré chcete odstráni»."
91
+
92
+ #: includes/form/other.php:24
93
+ msgid "Add role \"Webmaster\""
94
+ msgstr "Prida» role \"Webmaster\""
95
+
96
+ #: includes/form/other.php:32
97
+ msgid "Change default email address"
98
+ msgstr "Zmena predvoleného e-mailová adresa"
99
+
100
+ #: includes/form/other.php:36
101
+ msgid "Name"
102
+ msgstr "Meno"
103
+
104
+ #: includes/form/other.php:38
105
+ msgid "Email"
106
+ msgstr "Email"
107
+
108
+ #: includes/form/other.php:45
109
+ msgid "Delete default contact methods"
110
+ msgstr "Odstráni» metódy predvolený kontakt"
111
+
112
+ #: includes/form/other.php:47
113
+ msgid "Delete default contact methods from user profile."
114
+ msgstr "Odstráni» metódy predvolené kontaktné od profilu pou¾ívateµa."
115
+
116
+ #: includes/form/other.php:64
117
+ msgid "Remove Update Notification"
118
+ msgstr "Odstráni» oznámenia o aktualizáciu"
119
+
120
+ #: includes/form/other.php:66
121
+ msgid "Remove Update Notification for all users except Admin User."
122
+ msgstr ""
123
+ "Odstráňte Aktualizácia oznámenia pre všetkých užívateľov s výnimkou Admin "
124
+ "User."
125
+
126
+ #: includes/form/post.php:3
127
+ msgid "Posts &amp; Pages"
128
+ msgstr "Príspevky a stránky"
129
+
130
+ #: includes/form/post.php:6
131
+ msgid "Remove meta boxes for Posts"
132
+ msgstr "Odstráni» meta boxy pre príspevky"
133
+
134
+ #: includes/form/post.php:25
135
+ msgid "Remove meta boxes for Pages"
136
+ msgstr "Odstráni» meta boxy pre stránky"
137
+
138
+ #: includes/form/post.php:44
139
+ msgid "Revision Control"
140
+ msgstr "Revízia Control"
141
+
142
+ #: includes/form/post.php:46
143
+ msgid "Limit the number of revisions allowed."
144
+ msgstr "Obmedzenie poètu povolených revízií."
145
+
146
+ #: includes/form/post.php:48
147
+ msgid "Store All"
148
+ msgstr "Ulo¾enie All"
149
+
150
+ #: includes/form/post.php:64
151
+ msgid "Disable Auto Save"
152
+ msgstr "Zakáza» Auto Save"
153
+
154
+ #: includes/form/post.php:71
155
+ msgid "Stop self-pingbacks"
156
+ msgstr "Zastavi» self-Pingbacks"
157
+
158
+ #: includes/form/post.php:79
159
+ msgid "Add \"Excerpt\" support for Pages."
160
+ msgstr "Pridať \"Excerpt\" výpis podporu stránok."
161
+
162
+ #: includes/form/post.php:81
163
+ msgid "Allows you to add excerpt text to pages."
164
+ msgstr "Umozòuje prida» výòatok textu na stránkach."
165
+
166
+ #: includes/form/post.php:87
167
+ msgid "Remove attachment link from media uploader."
168
+ msgstr "Odstráni» prílohu odkaz z Media Uploader."
169
+
170
+ #: includes/form/post.php:89
171
+ msgid "Allows you to remove link for attachment page from media uploader."
172
+ msgstr "Umozòuje odstráni» odkaz pre upevòovacie stránku z Media Uploader."
173
+
174
+ #: includes/form/post.php:96
175
+ msgid "Allow you to create chid page for \"draft\"."
176
+ msgstr "Umozòuje vytvori» peskoval stránky pre \"draft\"."
177
+
178
+ #: includes/form/post.php:98
179
+ msgid "You can create child page for non-publish Page."
180
+ msgstr "Môzete vytvori» podstránku pre non-publikova» stránke."
181
+
182
+ #: includes/form/sidebar.php:2
183
+ msgid "WordPress Plugins"
184
+ msgstr "WordPress Plugins"
185
+
186
+ #: includes/form/sidebar.php:13
187
+ msgid "Make WordPress Site Load Faster"
188
+ msgstr "Skontrolujte, WordPress stránok Load Faster"
189
+
190
+ #: includes/form/sidebar.php:14
191
+ msgid "http://wpbooster.net/"
192
+ msgstr "http://wpbooster.net/"
193
+
194
+ #: includes/form/sidebar.php:18
195
+ msgid "This Plugin needs your support"
196
+ msgstr "Tento plugin potrebuje va¹u pomoc"
197
+
198
+ #: includes/form/sidebar.php:19
199
+ msgid "Please help support the continued development."
200
+ msgstr "Prosím, pomôzte podpori» ïal¹í vývoj."
201
+
202
+ #: includes/form/sidebar.php:21
203
+ msgid "$200+ makes you an official contributor."
204
+ msgstr "$ 200 + robí oficiálne prispievateµom."
205
+
206
+ #: includes/form/sidebar.php:25
207
+ msgid "Contact"
208
+ msgstr "Kontakt"
209
+
210
+ #: includes/form/site.php:2
211
+ msgid "Site Settings"
212
+ msgstr "Nastavenie webu"
213
+
214
+ #: includes/form/site.php:5
215
+ msgid "Add a favicon"
216
+ msgstr "Prida» favicon"
217
+
218
+ #: includes/form/site.php:7
219
+ msgid "Please upload .ico image."
220
+ msgstr "Prosím, nahrajte. ico image."
221
+
222
+ #: includes/form/site.php:10
223
+ msgid "Use this favicon with administration screens."
224
+ msgstr "Pouzite túto favicon sa správnymi obrazoviek."
225
+
226
+ #: includes/form/site.php:15
227
+ msgid "Add a apple-touch-icon"
228
+ msgstr "Prida» apple-touch-ikonu"
229
+
230
+ #: includes/form/site.php:17
231
+ msgid "Please upload .png image."
232
+ msgstr "Prosím, nahrajte. png obrázok."
233
+
234
+ #: includes/form/site.php:31
235
+ msgid "Remove \"wlwmanifest\" and \"xmlrpc\" from meta."
236
+ msgstr "Odstráni \"wlwmanifest\" and \"xmlrpc\" z meta."
237
+
238
+ #: includes/form/site.php:39
239
+ msgid "Remove adjacent posts rel links from head on Pages"
240
+ msgstr "Odstráni» priµahlé príspevky rel odkazy z hlavy na stránkach"
241
+
242
+ #: includes/form/site.php:47
243
+ msgid "Remove version number from head"
244
+ msgstr "Odstráni» èíslo verzie z hlavy"
245
+
246
+ #: includes/form/site.php:55
247
+ msgid "Remove #more anchor"
248
+ msgstr "Odstráni» # viac kotvu"
249
+
250
+ #: includes/form/site.php:57
251
+ msgid "Remove #more-xxx anchor from more links."
252
+ msgstr "Odstráni» # more-xxx kotvu z viac odkazov."
253
+
254
+ #: includes/form/site.php:63
255
+ msgid "Remove \"[...]\" from excerpt"
256
+ msgstr "Odstráni \"[…]\" od výpis"
257
+
258
+ #: includes/form/site.php:65
259
+ msgid "Remove \"[...]\" from output of the_excerpt()."
260
+ msgstr "Odstráni \"[…]\" z výstupu the_excerpt ()."
261
+
262
+ #: includes/form/site.php:71
263
+ msgid "Install Google Analytics"
264
+ msgstr "In¹talova» Google Analytics"
265
+
266
+ #: includes/form/site.php:73
267
+ msgid "Add Google analytics code."
268
+ msgstr "Prida» kód Google Analytics."
269
+
270
+ #: includes/form/site.php:80
271
+ msgid "Exclude user logged in."
272
+ msgstr "Vylúèi» uzívateµ prihlásený"
273
+
274
+ #: includes/form/site.php:85
275
+ msgid "Webmaster Tools Verification"
276
+ msgstr "Nástroje pre webmasterov Overenie"
277
+
278
+ #: wp-total-hacks.php:386
279
+ msgid "Settings"
280
+ msgstr "Nastavenia"
281
+
282
+ #: wp-total-hacks.php:389
283
+ msgid "Donate"
284
+ msgstr "Donate"
285
+
286
+ #. Plugin Name of the plugin/theme
287
+ msgid "WP Total Hacks"
288
+ msgstr "WP Celkom hacks"
289
+
290
+ #. Plugin URI of the plugin/theme
291
+ msgid "http://wpist.me/wp/wp-total-hacks/"
292
+ msgstr "http://wpist.me/wp/wp-total-hacks/"
293
+
294
+ #. Description of the plugin/theme
295
+ msgid "WP Total Hacks can customize your WordPress."
296
+ msgstr "hacks WP Celkom mô¾ete prispôsobi» WordPress."
297
+
298
+ #. Author of the plugin/theme
299
+ msgid "Takayuki Miyauchi"
300
+ msgstr "Takayuki Miyauchi"
301
+
302
+ #. Author URI of the plugin/theme
303
+ msgid "http://wpist.me/"
304
+ msgstr "http://wpist.me/"
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://wpist.me/
4
  Tags: head, post, page, functions.php, admin, logo, auto save, revision, meta box, dashboard
5
  Requires at least: 3.5
6
  Tested up to: 3.5
7
- Stable tag: 1.1.3
8
 
9
  WP Total Hacks can customize more than 20 settings on your WordPress Site.
10
  PHP5 is required!
@@ -56,6 +56,7 @@ PHP5 is required!
56
  * Brazilian Portuguese(pt_BR) - [Rafael Funchal](http://www.rafaelfunchal.com.br/)
57
  * French(fr_FR) - [Guillaume VASLIN](http://www.chaptalstreetquartetfamily.fr/)
58
  * Greek(el) - [George Siamidis](https://www.facebook.com/darkosxrc)
 
59
 
60
  You can send your own language pack to me.
61
 
4
  Tags: head, post, page, functions.php, admin, logo, auto save, revision, meta box, dashboard
5
  Requires at least: 3.5
6
  Tested up to: 3.5
7
+ Stable tag: 1.2.0
8
 
9
  WP Total Hacks can customize more than 20 settings on your WordPress Site.
10
  PHP5 is required!
56
  * Brazilian Portuguese(pt_BR) - [Rafael Funchal](http://www.rafaelfunchal.com.br/)
57
  * French(fr_FR) - [Guillaume VASLIN](http://www.chaptalstreetquartetfamily.fr/)
58
  * Greek(el) - [George Siamidis](https://www.facebook.com/darkosxrc)
59
+ * Slovak(sk_SK) - [Branco](http://webhostinggeeks.com/)
60
 
61
  You can send your own language pack to me.
62
 
wp-total-hacks.php CHANGED
@@ -5,7 +5,7 @@ Author: Takayuki Miyauchi
5
  Plugin URI: http://wpist.me/wp/wp-total-hacks/
6
  Description: WP Total Hacks can customize your WordPress.
7
  Author: Takayuki Miyauchi
8
- Version: 1.1.3
9
  Author URI: http://wpist.me/
10
  Domain Path: /languages
11
  Text Domain: wp-total-hacks
@@ -278,6 +278,14 @@ public function wp_head()
278
  echo $this->get_meta('google-site-verification', $this->op('wfb_google'));
279
  echo $this->get_meta('y_key', $this->op('wfb_yahoo'));
280
  echo $this->get_meta('msvalidate.01', $this->op('wfb_bing'));
 
 
 
 
 
 
 
 
281
  }
282
 
283
  public function admin_head()
5
  Plugin URI: http://wpist.me/wp/wp-total-hacks/
6
  Description: WP Total Hacks can customize your WordPress.
7
  Author: Takayuki Miyauchi
8
+ Version: 1.2.0
9
  Author URI: http://wpist.me/
10
  Domain Path: /languages
11
  Text Domain: wp-total-hacks
278
  echo $this->get_meta('google-site-verification', $this->op('wfb_google'));
279
  echo $this->get_meta('y_key', $this->op('wfb_yahoo'));
280
  echo $this->get_meta('msvalidate.01', $this->op('wfb_bing'));
281
+
282
+ if (is_user_logged_in() && $this->op("wfb_custom_logo")) {
283
+ $style = '<style type="text/css">';
284
+ $style .= '#header-logo,#wp-admin-bar-wp-logo > .ab-item .ab-icon{background-image: url(%s) !important;}';
285
+ $style .= '#wp-admin-bar-wp-logo > .ab-item .ab-icon{background-position: 0 0;}';
286
+ $style .= '</style>';
287
+ printf($style, esc_url($this->op("wfb_custom_logo")));
288
+ }
289
  }
290
 
291
  public function admin_head()