Search Everything - Version 8.1.4

Version Description

  • Removed unnecessary styles on frontend
  • Fixed php notice showing up sometimes
  • Czech language added
Download this release

Release Info

Developer ddksr
Plugin Icon wp plugin Search Everything
Version 8.1.4
Comparing to
See all releases

Code changes from version 8.1.3 to 8.1.4

config.php CHANGED
@@ -109,6 +109,13 @@ function se_upgrade() {
109
  }
110
  }
111
 
 
 
 
 
 
 
 
112
  function se_migrate_8_1_2() {
113
  $se_meta = get_option('se_meta', false);
114
  $se_meta['version'] = '8.1.3';
109
  }
110
  }
111
 
112
+ function se_migrate_8_1_3() {
113
+ $se_meta = get_option('se_meta', false);
114
+ $se_meta['version'] = '8.1.4';
115
+ update_option('se_meta', $se_meta);
116
+ }
117
+
118
+
119
  function se_migrate_8_1_2() {
120
  $se_meta = get_option('se_meta', false);
121
  $se_meta['version'] = '8.1.3';
lang/SearchEverything-cs_CZ.mo ADDED
Binary file
lang/SearchEverything-cs_CZ.po ADDED
@@ -0,0 +1,286 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: 6.1.7\n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/search-everything\n"
5
+ "POT-Creation-Date: 2015-11-19 12:14+0100\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Karol Manikowski <karol.manikowski@yahoo.pl>\n"
8
+ "Language-Team: Karol Manikowski <kontakt@doctorley.pl>\n"
9
+ "Language: pl_PL\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-SourceCharset: utf-8\n"
14
+ "X-Generator: Poedit 1.8.6\n"
15
+
16
+ #: views/options.php:54 views/options.php:61
17
+ msgid ""
18
+ "Your default search settings have been <strong>updated</strong> by Search "
19
+ "Everything. </p><p> What are you waiting for? Go check out the new search "
20
+ "results!"
21
+ msgstr ""
22
+ "Vaše výchozí nastavení pro vyhledávání bylo <strong>aktualizováno</strong> "
23
+ "pluginem Search Everything. </p><p> Na co ještě čekáte? Běžte vyzkoušet nové "
24
+ "vyhledávání!"
25
+
26
+ #: views/options.php:71
27
+ msgid "Search Everything Version:"
28
+ msgstr "Verze Search Everything:"
29
+
30
+ #: views/options.php:76 views/options.php:278
31
+ msgid "Update Options"
32
+ msgstr "Možnosti aktualizace"
33
+
34
+ #: views/options.php:84
35
+ msgid "Basic Configuration"
36
+ msgstr "Základní nastavení"
37
+
38
+ #: views/options.php:90
39
+ msgid "Search every page"
40
+ msgstr "Prohledat každou stránku"
41
+
42
+ #: views/options.php:90
43
+ msgid "(non-password protected)"
44
+ msgstr "(nechráněno heslem)"
45
+
46
+ #: views/options.php:94 views/options.php:105 views/options.php:118
47
+ #: views/options.php:132 views/options.php:143 views/options.php:153
48
+ #: views/options.php:163 views/options.php:173 views/options.php:186
49
+ #: views/options.php:197 views/options.php:207 views/options.php:217
50
+ #: views/options.php:227
51
+ msgid "Yes"
52
+ msgstr "Ano"
53
+
54
+ #: views/options.php:101
55
+ msgid "Search approved pages only"
56
+ msgstr "Prohledávat pouze schválené stránky"
57
+
58
+ #: views/options.php:114
59
+ msgid "Search every tag name"
60
+ msgstr "Prohledávat všechny názvy štítků"
61
+
62
+ #: views/options.php:128
63
+ msgid "Search every category name and description"
64
+ msgstr "Prohledávat všechny kategorie a popisy"
65
+
66
+ #: views/options.php:139
67
+ msgid "Search every comment"
68
+ msgstr "Prohledávat všechny komentáře"
69
+
70
+ #: views/options.php:149
71
+ msgid "Search comment authors"
72
+ msgstr "Prohledávat autory komentářů"
73
+
74
+ #: views/options.php:159
75
+ msgid "Search approved comments only"
76
+ msgstr "Prohledávat pouze schválené komentáře"
77
+
78
+ #: views/options.php:169
79
+ msgid "Search every excerpt"
80
+ msgstr "Prohledávat všechny stručné popisy"
81
+
82
+ #: views/options.php:182
83
+ msgid "Search every draft"
84
+ msgstr "Prohledávat všechny koncepty"
85
+
86
+ #: views/options.php:193
87
+ msgid "Search every attachment"
88
+ msgstr "Prohledávat všechny přílohy"
89
+
90
+ #: views/options.php:193
91
+ msgid "(post type = attachment)"
92
+ msgstr "(typ příspěvku = attachment)"
93
+
94
+ #: views/options.php:203
95
+ msgid "Search every custom field"
96
+ msgstr "Prohledávat všechny vlastní hodnoty (custom fields)"
97
+
98
+ #: views/options.php:203
99
+ msgid "(metadata)"
100
+ msgstr "(metadata)"
101
+
102
+ #: views/options.php:213
103
+ msgid "Search every author"
104
+ msgstr "Prohledávat všechny autory"
105
+
106
+ #: views/options.php:223
107
+ msgid "Highlight Search Terms"
108
+ msgstr "Zvýrazňovat výsledky hledání"
109
+
110
+ #: views/options.php:233
111
+ msgid "Highlight Background Color"
112
+ msgstr "Barva pozadí zvýrazněných výsledků"
113
+
114
+ #: views/options.php:236
115
+ msgid "Examples:<br/>'#FFF984' or 'red'"
116
+ msgstr "Příklady:<br/>'#FFF984' nebo 'red'"
117
+
118
+ #: views/options.php:246
119
+ msgid "Advanced Configuration - Exclusion"
120
+ msgstr "Rozšířené nastavení - Výjimka"
121
+
122
+ #: views/options.php:252
123
+ msgid "Exclude some post or page IDs"
124
+ msgstr "Vyňaté příspěvky nebo stránky (ID)"
125
+
126
+ #: views/options.php:255
127
+ msgid "Comma separated Post IDs (example: 1, 5, 9)"
128
+ msgstr "Čárkami oddělený seznam ID příspěvků nebo stránek (příklad: 1, 5, 9)"
129
+
130
+ #: views/options.php:259
131
+ msgid "Exclude Categories"
132
+ msgstr "Vyňaté kategorie"
133
+
134
+ #: views/options.php:262
135
+ msgid "Comma separated category IDs (example: 1, 4)"
136
+ msgstr "Čárkami oddělený seznam ID kategorií (příklad: 1, 4)"
137
+
138
+ #: views/options.php:266
139
+ msgid "Full Highlight Style"
140
+ msgstr "Plné zvýraznění"
141
+
142
+ #: views/options.php:268
143
+ msgid ""
144
+ "Important: 'Highlight Background Color' must be blank to use this advanced "
145
+ "styling."
146
+ msgstr ""
147
+ "Důležité: Hodnota 'Barva pozadí zvýrazněného textu' musí zůstat nevyplněná, "
148
+ "jinak toto nastavení nebude fungovat."
149
+
150
+ #: views/options.php:270
151
+ msgid ""
152
+ "Example:<br/>background-color: #FFF984; font-weight: bold; color: #000; "
153
+ "padding: 0 1px;"
154
+ msgstr ""
155
+ "Příklad:<br/>background-color: #FFF984; font-weight: bold; color: #000; "
156
+ "padding: 0 1px;"
157
+
158
+ #: views/options.php:283
159
+ msgid "Developed by Dan Cameron of"
160
+ msgstr "Developed by Dan Cameron of"
161
+
162
+ #: views/options.php:283
163
+ msgid "Sprout Venture"
164
+ msgstr "Sprout Venture"
165
+
166
+ #: views/options.php:283
167
+ msgid "We Provide custom WordPress Plugins and Themes and a whole lot more."
168
+ msgstr ""
169
+ "Poskytujeme výrobu zakázkových pluginů pro WordPress a k tomu ještě mnohem "
170
+ "více."
171
+
172
+ #: views/options.php:287
173
+ msgid "Reset Button"
174
+ msgstr "Talčítko Reset"
175
+
176
+ #: views/options.php:295
177
+ msgid "Find a bug?"
178
+ msgstr "Našli jste chybu?"
179
+
180
+ #: views/options.php:295
181
+ msgid "Post it as a new issue"
182
+ msgstr "Pošlete ji k nám"
183
+
184
+ #: views/options.php:302
185
+ msgid "Test Search Form"
186
+ msgstr "Testování vyhledávacího formuláře"
187
+
188
+ #: views/options.php:309
189
+ msgid "Use this search form to run a live search test."
190
+ msgstr "Použijte tento formulář pro testování vyhledávání."
191
+
192
+ #: views/options.php:315
193
+ msgid "Run Test Search"
194
+ msgstr "Otestovat vyhledávání"
195
+
196
+ #: views/options.php:326
197
+ msgid "News"
198
+ msgstr "Novinky"
199
+
200
+ #: views/options.php:327
201
+ msgid "Development Support"
202
+ msgstr "Podpora vývojářů"
203
+
204
+ #: views/options.php:328
205
+ msgid "Localization Support"
206
+ msgstr "Podpora lokalizace"
207
+
208
+ #: views/options.php:334
209
+ msgid "LOCALIZATION SUPPORT:"
210
+ msgstr "PODPORA LOKALIZACE:"
211
+
212
+ #: views/options.php:334
213
+ msgid ""
214
+ "Version 6 was a major update and a few areas need new localization support. "
215
+ "If you can help send me your translations by posting them as a new issue, "
216
+ msgstr ""
217
+ "Verze 6 obsahovala zásadní změny a proto v několika oblastech potřebujeme "
218
+ "upravit překlady. Pokud mi s tím chcete pomoct, pošlete své překlady přes "
219
+ "Github (New issue), "
220
+
221
+ #: views/options.php:334
222
+ msgid "here"
223
+ msgstr "tady"
224
+
225
+ #: views/options.php:335
226
+ msgid "Thank You!"
227
+ msgstr "Děkuji!"
228
+
229
+ #: views/options.php:335
230
+ msgid ""
231
+ "The development of Search Everything since Version one has primarily come "
232
+ "from the WordPress community, I&#8217;m grateful for their dedicated and "
233
+ "continued support."
234
+ msgstr ""
235
+ "Vývoj pluginu Search Everything vychází od první verze primárně z komunity "
236
+ "Wordpress. Jsem všem velice vděčný za jejich odhodlanou a neutuchající "
237
+ "podporu."
238
+
239
+ #: views/options.php:345
240
+ msgid "and many more..."
241
+ msgstr "a mnoho dalších..."
242
+
243
+ #: views/options.php:345
244
+ msgid "how about you?"
245
+ msgstr "a co ty?"
246
+
247
+ #. Plugin Name of an extension
248
+ msgid "Search Everything"
249
+ msgstr "Search Everything"
250
+
251
+ #. Plugin URI of an extension
252
+ msgid "https://core.sproutventure.com/projects/show/search-everything"
253
+ msgstr "https://core.sproutventure.com/projects/show/search-everything"
254
+
255
+ #. Description of an extension
256
+ msgid ""
257
+ "Adds search functionality without modifying any template pages: Activate, "
258
+ "Configure and Search. Options Include: search highlight, search pages, "
259
+ "excerpts, attachments, drafts, comments, tags and custom fields (metadata). "
260
+ "Also offers the ability to exclude specific pages and posts. Does not search "
261
+ "password-protected content."
262
+ msgstr ""
263
+ "Rozšiřuje funkcionalitu vyhledávání bez změny stránek šablony: Prostě jen "
264
+ "plugin Aktivovujte, Nakonfigurujte a Vyhledávejte. Vlastnosti: zvýraznění "
265
+ "výsledků vyhledávání, prohledávání stránek, stručných popisů, příloh, "
266
+ "konceptů, komentářů, štítků a vlastních hodnot (custom fields). Umožňuje "
267
+ "také vyjmout zvolené stránky či příspěvky z vyhledávání. Neprohledává heselm "
268
+ "zabezpečený obsah. "
269
+
270
+ #. Author of an extension
271
+ msgid "Dan Cameron of Sprout Venture"
272
+ msgstr "Dan Cameron of Sprout Venture"
273
+
274
+ #. Author URI of an extension
275
+ msgid "http://sproutventure.com/"
276
+ msgstr "http://sproutventure.com/"
277
+
278
+ #. Shown in options title after plugin name
279
+ msgctxt "options.php"
280
+ msgid "settings"
281
+ msgstr "nastavení"
282
+
283
+ #. Shown below title on options page.
284
+ msgctxt "options.php"
285
+ msgid "Customize your search by checking one or more options below."
286
+ msgstr "Upravte si vyhledávání zatržením jedné nebo více možností."
options.php CHANGED
@@ -282,8 +282,8 @@ function get_sfid() {
282
  $response = wp_remote_GET(SE_ZEMANTA_PREFS_URL . '?url=' . urlencode($url));
283
  if(!is_wp_error($response)) {
284
  $response_json = json_decode($response['body']);
285
- $response_state = $response_json->state;
286
- if ($response_json->status === 'ok' && !empty($response_json->sfid)) {
287
  return array($response_json->sfid, $response_state);
288
  }
289
  }
282
  $response = wp_remote_GET(SE_ZEMANTA_PREFS_URL . '?url=' . urlencode($url));
283
  if(!is_wp_error($response)) {
284
  $response_json = json_decode($response['body']);
285
+ $response_state = $response_json->status;
286
+ if ($response_state === 'ok' && !empty($response_json->sfid)) {
287
  return array($response_json->sfid, $response_state);
288
  }
289
  }
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: zemanta
3
  Tags: search, search highlight, tag search, category search, category exclusion, comment search, page search, admin, seo, post filter, research
4
  Requires at least: 3.6
5
- Tested up to: 4.3
6
- Stable tag: 8.1.3
7
 
8
  Search Everything increases WordPress' default search functionality in three easy steps.
9
 
@@ -84,6 +84,7 @@ Note: We changed some labels in settings, old translations might not work and ne
84
  * Arabic
85
  * Belarusian
86
  * China / Chinese
 
87
  * Dutch
88
  * French
89
  * German
@@ -115,6 +116,11 @@ Before using the plugin please read the full version of [Zemanta Terms of Servic
115
 
116
  == Changelog ==
117
 
 
 
 
 
 
118
  = 8.1.3 =
119
  * Support for multitag search
120
 
2
  Contributors: zemanta
3
  Tags: search, search highlight, tag search, category search, category exclusion, comment search, page search, admin, seo, post filter, research
4
  Requires at least: 3.6
5
+ Tested up to: 4.4
6
+ Stable tag: 8.1.4
7
 
8
  Search Everything increases WordPress' default search functionality in three easy steps.
9
 
84
  * Arabic
85
  * Belarusian
86
  * China / Chinese
87
+ * Czech
88
  * Dutch
89
  * French
90
  * German
116
 
117
  == Changelog ==
118
 
119
+ = 8.1.4 =
120
+ * Removed unnecessary styles on frontend
121
+ * Fixed php notice showing up sometimes
122
+ * Czech language added
123
+
124
  = 8.1.3 =
125
  * Support for multitag search
126
 
search-everything.php CHANGED
@@ -3,12 +3,12 @@
3
  Plugin Name: Search Everything
4
  Plugin URI: http://wordpress.org/plugins/search-everything/
5
  Description: Adds search functionality without modifying any template pages: Activate, Configure and Search. Options Include: search highlight, search pages, excerpts, attachments, drafts, comments, tags and custom fields (metadata). Also offers the ability to exclude specific pages and posts. Does not search password-protected content.
6
- Version: 8.1.3
7
  Author: Zemanta
8
  Author URI: http://www.zemanta.com
9
  */
10
 
11
- define('SE_VERSION', '8.1.3');
12
 
13
  if (!defined('SE_PLUGIN_FILE'))
14
  define('SE_PLUGIN_FILE', plugin_basename(__FILE__));
@@ -905,18 +905,12 @@ function search_everything_callback() {
905
  die();
906
  }
907
 
908
- function se_enqueue_styles() {
909
- wp_enqueue_style('se-link-styles', SE_PLUGIN_URL . '/static/css/se-styles.css');
910
- }
911
-
912
- add_action('wp_enqueue_scripts', 'se_enqueue_styles');
913
-
914
 
915
 
916
  function se_post_publish_ping($post_id) {
917
  //should happen only on first publish
918
  $status = false;
919
- if( ( $_POST['post_status'] == 'publish' ) && ( $_POST['original_post_status'] != 'publish' ) ) {
920
  $permalink = get_permalink($post_id);
921
  $zemanta_response = se_api(array(
922
  'method' => 'zemanta.post_published_ping',
3
  Plugin Name: Search Everything
4
  Plugin URI: http://wordpress.org/plugins/search-everything/
5
  Description: Adds search functionality without modifying any template pages: Activate, Configure and Search. Options Include: search highlight, search pages, excerpts, attachments, drafts, comments, tags and custom fields (metadata). Also offers the ability to exclude specific pages and posts. Does not search password-protected content.
6
+ Version: 8.1.4
7
  Author: Zemanta
8
  Author URI: http://www.zemanta.com
9
  */
10
 
11
+ define('SE_VERSION', '8.1.4');
12
 
13
  if (!defined('SE_PLUGIN_FILE'))
14
  define('SE_PLUGIN_FILE', plugin_basename(__FILE__));
905
  die();
906
  }
907
 
 
 
 
 
 
 
908
 
909
 
910
  function se_post_publish_ping($post_id) {
911
  //should happen only on first publish
912
  $status = false;
913
+ if( !empty( $_POST['post_status'] ) && ( $_POST['post_status'] == 'publish' ) && ( $_POST['original_post_status'] != 'publish' ) ) {
914
  $permalink = get_permalink($post_id);
915
  $zemanta_response = se_api(array(
916
  'method' => 'zemanta.post_published_ping',
views/options_page.php CHANGED
@@ -296,6 +296,7 @@ The <span class="se-name">Search Everything</span> writing helper enables you to
296
  <li><a href="#">Silver Ghost (RU)</a></li>
297
  <li><a href="http://mishkin.se" target="blank">Mikael Jorhult (RU)</a></li>
298
  <li><a href="#">Baris Unver (TR)</a></li>
 
299
  </ul>
300
  </td>
301
  </tr>
296
  <li><a href="#">Silver Ghost (RU)</a></li>
297
  <li><a href="http://mishkin.se" target="blank">Mikael Jorhult (RU)</a></li>
298
  <li><a href="#">Baris Unver (TR)</a></li>
299
+ <li><a href="#">René Kostka (CZ)</a></li>
300
  </ul>
301
  </td>
302
  </tr>