wpForo Forum - Version 1.4.12

Version Description

Download this release

Release Info

Developer Tomdever
Plugin Icon 128x128 wpForo Forum
Version 1.4.12
Comparing to
See all releases

Code changes from version 1.4.11 to 1.4.12

readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: gVectors Team
3
Tags: forum, forums, forum plugin, WordPress forum plugin, community, discussion
4
Requires at least: 4.1
5
Tested up to: 4.9
6
- Stable tag: 1.4.11
7
Requires PHP: 5.4 and higher
8
License: GPLv2 or later
9
License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -152,7 +152,7 @@ Find wpForo forum plugin addons on [gVectors Team website...](https://gvectors.c
152
153
== Changelog ==
154
155
- = wpForo Forum 1.4.10 / 1.4.11 | 30.05.2018 =
156
157
* Fixed: This is a not planned security update. It includes data sanitization and filtering changes.
158
3
Tags: forum, forums, forum plugin, WordPress forum plugin, community, discussion
4
Requires at least: 4.1
5
Tested up to: 4.9
6
+ Stable tag: 1.4.12
7
Requires PHP: 5.4 and higher
8
License: GPLv2 or later
9
License URI: https://www.gnu.org/licenses/gpl-2.0.html
152
153
== Changelog ==
154
155
+ = wpForo Forum 1.4.10 / 1.4.11 / 1.4.12 | 31.05.2018 =
156
157
* Fixed: This is a not planned security update. It includes data sanitization and filtering changes.
158
wpf-includes/class-topics.php CHANGED
@@ -84,6 +84,7 @@ class wpForoTopic{
84
if(isset($name)) $name = strip_tags(trim($name));
85
if(isset($email)) $email = strip_tags(trim($email));
86
if(isset($body)) $body = wpforo_kses(trim($body), 'post');
87
$meta_key = (isset($meta_key) ? $meta_key : '');
88
$meta_desc = (isset($meta_desc) ? $meta_desc : '');
89
$has_attach = ( isset($has_attach) && $has_attach ) ? 1 : ((strpos($body, '[attach]') !== FALSE) ? 1 : 0);
@@ -105,7 +106,7 @@ class wpForoTopic{
105
'created' => $created,
106
'modified' => $created,
107
'last_post' => 0,
108
- 'views' => 0,
109
'posts' => $posts,
110
'meta_key' => $meta_key,
111
'meta_desc' => $meta_desc,
84
if(isset($name)) $name = strip_tags(trim($name));
85
if(isset($email)) $email = strip_tags(trim($email));
86
if(isset($body)) $body = wpforo_kses(trim($body), 'post');
87
+ $views = ( isset($views) ? intval($views) : 0 );
88
$meta_key = (isset($meta_key) ? $meta_key : '');
89
$meta_desc = (isset($meta_desc) ? $meta_desc : '');
90
$has_attach = ( isset($has_attach) && $has_attach ) ? 1 : ((strpos($body, '[attach]') !== FALSE) ? 1 : 0);
106
'created' => $created,
107
'modified' => $created,
108
'last_post' => 0,
109
+ 'views' => $views,
110
'posts' => $posts,
111
'meta_key' => $meta_key,
112
'meta_desc' => $meta_desc,
wpf-includes/functions.php CHANGED
@@ -255,7 +255,8 @@ function wpforo_get_request_uri($with_port = FALSE, $get_referer_when_ajax = TRU
255
$sp = strtolower($_SERVER["SERVER_PROTOCOL"]);
256
$protocol = substr($sp, 0, strpos($sp, "/")) . $s;
257
$port = ($_SERVER["SERVER_PORT"] == "80") ? "" : (":".$_SERVER["SERVER_PORT"]);
258
- return $protocol . "://" . $_SERVER['HTTP_HOST'] . ($with_port ? $port : '') . $_SERVER['REQUEST_URI'];
259
}
260
261
255
$sp = strtolower($_SERVER["SERVER_PROTOCOL"]);
256
$protocol = substr($sp, 0, strpos($sp, "/")) . $s;
257
$port = ($_SERVER["SERVER_PORT"] == "80") ? "" : (":".$_SERVER["SERVER_PORT"]);
258
+ $url = $protocol . "://" . $_SERVER['HTTP_HOST'] . ($with_port ? $port : '') . $_SERVER['REQUEST_URI'];
259
+ return esc_url_raw($url);
260
}
261
262
wpf-includes/wpf-actions.php CHANGED
@@ -360,7 +360,7 @@ function wpforo_actions(){
360
361
if( isset($_POST['wpforo_use_home_url']) && $_POST['wpforo_use_home_url'] ){
362
$wpforo_use_home_url = 1;
363
- if( isset($_POST['wpforo_excld_urls']) && $_POST['wpforo_excld_urls'] ){}
364
update_option('wpforo_excld_urls', sanitize_textarea_field($_POST['wpforo_excld_urls']));
365
}else{
366
$wpforo_use_home_url = 0;
360
361
if( isset($_POST['wpforo_use_home_url']) && $_POST['wpforo_use_home_url'] ){
362
$wpforo_use_home_url = 1;
363
+ if( isset($_POST['wpforo_excld_urls']) && $_POST['wpforo_excld_urls'] )
364
update_option('wpforo_excld_urls', sanitize_textarea_field($_POST['wpforo_excld_urls']));
365
}else{
366
$wpforo_use_home_url = 0;
wpf-languages/wpforo-hu_HU.mo ADDED
Binary file
wpf-languages/wpforo-hu_HU.po ADDED
@@ -0,0 +1,4878 @@
1
+ # Copyright (C) 2016 gVectors Team
2
+ # This file is distributed under the same license as the wpForo package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Forum - wpForo\n"
6
+ "POT-Creation-Date: 2018-04-30 17:15+0400\n"
7
+ "PO-Revision-Date: 2018-05-30 23:26+0000\n"
8
+ "Last-Translator: LA <szauna.net@gmail.com>\n"
9
+ "Language-Team: Magyar\n"
10
+ "Language: hu-HU\n"
11
+ "MIME-Version: 1.0\n"
12
+ "Content-Type: text/plain; charset=UTF-8\n"
13
+ "Content-Transfer-Encoding: 8bit\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Generator: Loco https://localise.biz/\n"
16
+ "X-Poedit-Basepath: ..\n"
17
+ "X-Poedit-WPHeader: wpforo.php\n"
18
+ "X-Poedit-SourceCharset: UTF-8\n"
19
+ "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
20
+ "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
21
+ "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
22
+ "X-Poedit-SearchPath-0: .\n"
23
+ "X-Poedit-SearchPathExcluded-0: *.js\n"
24
+ "Report-Msgid-Bugs-To: "
25
+
26
+ #: wpf-admin/addons.php:14 wpf-admin/addons.php:22
27
+ msgid "wpForo Addons"
28
+ msgstr ""
29
+
30
+ #: wpf-admin/addons.php:28
31
+ msgid ""
32
+ "All wpForo addons are being developed by wpForo developers at gVectors Team. "
33
+ "Addon prices also include a small donation to the hard work wpForo "
34
+ "developers do for free. When you buy an addon, you also donate the free "
35
+ "wpForo development and support. Addons are the only incoming source for "
36
+ "wpForo developers. wpForo is a premium forum plugin which will always be "
37
+ "available for free. There will never be paid and pro versions of this forum "
38
+ "board. We have another dozens of awesome features in our to-do list which "
39
+ "will also be added for free in future releases. So the free wpForo "
40
+ "development always stays on the first priority and wpForo is being extended "
41
+ "with new free functions and features even faster than before."
42
+ msgstr ""
43
+
44
+ #: wpf-admin/addons.php:31 wpf-admin/dashboard.php:37
45
+ msgid "Thank you!<br> Sincerely yours,<br> gVectors Team"
46
+ msgstr ""
47
+
48
+ #: wpf-admin/addons.php:51
49
+ msgid "Installed"
50
+ msgstr "Telepített"
51
+
52
+ #: wpf-admin/addons.php:55
53
+ msgid "Version"
54
+ msgstr "Verzió"
55
+
56
+ #: wpf-admin/addons.php:56
57
+ msgid "at least"
58
+ msgstr "legalább"
59
+
60
+ #: wpf-admin/addons.php:58
61
+ msgid "Details | Buy"
62
+ msgstr "Részletek | Vásárlás"
63
+
64
+ #: wpf-admin/addons.php:64
65
+ msgid "More information about"
66
+ msgstr ""
67
+
68
+ #: wpf-admin/admin.php:24 wpf-admin/admin.php:25
69
+ #: wpf-includes/wpf-phrases.php:603
70
+ msgid "Dashboard"
71
+ msgstr "Vezérlőpult"
72
+
73
+ #: wpf-admin/admin.php:24 wpf-admin/admin.php:26 wpf-admin/dashboard.php:136
74
+ #: wpf-admin/options-tabs/api.php:83 wpf-admin/options-tabs/styles.php:16
75
+ #: wpf-admin/options.php:15 wpf-includes/integration/buddypress.php:11
76
+ #: wpf-includes/integration/buddypress.php:57
77
+ #: wpf-includes/integration/buddypress.php:132 wpf-includes/wpf-hooks.php:1822
78
+ #: wpf-includes/wpf-phrases.php:123
79
+ msgid "Forums"
80
+ msgstr "Fórumok"
81
+
82
+ #: wpf-admin/admin.php:27 wpf-includes/wpf-hooks.php:22
83
+ #: wpf-includes/wpf-hooks.php:1838
84
+ msgid "Settings"
85
+ msgstr "Beállítások"
86
+
87
+ #: wpf-admin/admin.php:28 wpf-includes/wpf-hooks.php:1847
88
+ #: wpf-includes/wpf-phrases.php:729
89
+ msgid "Tools"
90
+ msgstr "Eszközök"
91
+
92
+ #: wpf-admin/admin.php:29 wpf-includes/wpf-hooks.php:1856
93
+ msgid "Moderation"
94
+ msgstr "Moderáció"
95
+
96
+ #: wpf-admin/admin.php:30 wpf-admin/dashboard.php:148 wpf-admin/member.php:10
97
+ #: wpf-admin/options.php:18 wpf-includes/wpf-hooks.php:1865
98
+ #: wpf-includes/wpf-phrases.php:178
99
+ msgid "Members"
100
+ msgstr "Tagok"
101
+
102
+ #: wpf-admin/admin.php:31 wpf-admin/usergroup.php:8
103
+ #: wpf-includes/wpf-hooks.php:1874
104
+ msgid "Usergroups"
105
+ msgstr "Felhasználói csoportok"
106
+
107
+ #: wpf-admin/admin.php:32 wpf-includes/wpf-hooks.php:1890
108
+ #: wpf-includes/wpf-phrases.php:604
109
+ msgid "Phrases"
110
+ msgstr "Kifejezések"
111
+
112
+ #: wpf-admin/admin.php:33 wpf-includes/wpf-hooks.php:1906
113
+ #: wpf-includes/wpf-phrases.php:605
114
+ msgid "Themes"
115
+ msgstr "Témák"
116
+
117
+ #: wpf-admin/admin.php:34 wpf-admin/options.php:24
118
+ #: wpf-includes/wpf-hooks.php:1915 wpf-includes/wpf-phrases.php:25
119
+ msgid "Addons"
120
+ msgstr "Kiegészítők"
121
+
122
+ #: wpf-admin/dashboard.php:7 wpf-includes/wpf-phrases.php:408
123
+ msgid "wpForo Dashboard"
124
+ msgstr ""
125
+
126
+ #: wpf-admin/dashboard.php:23 wpf-includes/wpf-phrases.php:361
127
+ msgid "Welcome Message"
128
+ msgstr ""
129
+
130
+ #: wpf-admin/dashboard.php:27
131
+ msgid "Welcome to wpForo"
132
+ msgstr ""
133
+
134
+ #: wpf-admin/dashboard.php:29
135
+ msgid ""
136
+ "Thank you for using wpForo! wpForo is a professional bulletin board for "
137
+ "WorPress, and the only forum software which comes with Multi-layout template "
138
+ "system.\n"
139
+ " The \"Extended\", \"Simplified\" and "
140
+ "\"Question &amp Answer\" layouts fit almost all type of discussions needs. "
141
+ "You can use wpForo for small and extremely large communities. \n"
142
+ " <br />If you found some issue or bug "
143
+ "please open a support topic in plugin page or in our support forum at "
144
+ "gVectors.com. If you liked wpForo please leave some good review for this "
145
+ "plugin. We really need your good reviews. \n"
146
+ " If you didn't like wpForo please leave a "
147
+ "list of issues and requirements you'd like us to fix and add in near future. "
148
+ "We're here to help you and improve wpForo as much as possible."
149
+ msgstr ""
150
+
151
+ #: wpf-admin/dashboard.php:57 wpf-includes/wpf-phrases.php:130
152
+ msgid "General Information"
153
+ msgstr "Általános információk"
154
+
155
+ #: wpf-admin/dashboard.php:61 wpf-includes/wpf-phrases.php:368
156
+ msgid "You are currently running"
157
+ msgstr "Ezeket futtatod"
158
+
159
+ #: wpf-admin/dashboard.php:62 wpf-includes/wpf-phrases.php:18
160
+ msgid "Active Theme"
161
+ msgstr "Aktív téma"
162
+
163
+ #: wpf-admin/dashboard.php:63 wpf-includes/wpf-phrases.php:413
164
+ msgid "wpForo Website"
165
+ msgstr ""
166
+
167
+ #: wpf-admin/dashboard.php:64 wpf-includes/wpf-phrases.php:319
168
+ msgid "Support Forum"
169
+ msgstr "Támogatói fórum"
170
+
171
+ #: wpf-admin/dashboard.php:75 wpf-includes/wpf-phrases.php:289
172
+ msgid "Server Information"
173
+ msgstr "Szerver információk"
174
+
175
+ #: wpf-admin/dashboard.php:109 wpf-includes/wpf-phrases.php:46
176
+ msgid "Available"
177
+ msgstr "Elérhető"
178
+
179
+ #: wpf-admin/dashboard.php:109 wpf-includes/wpf-phrases.php:208
180
+ msgid "Not available"
181
+ msgstr "Nem elérhető"
182
+
183
+ #: wpf-admin/dashboard.php:130 wpf-includes/wpf-phrases.php:49
184
+ msgid "Board Statistic"
185
+ msgstr ""
186
+
187
+ #: wpf-admin/dashboard.php:140 wpf-admin/options-tabs/posts.php:17
188
+ #: wpf-admin/options-tabs/styles.php:22 wpf-includes/class-forums.php:663
189
+ #: wpf-includes/wpf-phrases.php:338
190
+ msgid "Topics"
191
+ msgstr "Témák"
192
+
193
+ #: wpf-admin/dashboard.php:144 wpf-admin/options-tabs/posts.php:18
194
+ #: wpf-includes/class-forums.php:663 wpf-includes/wpf-phrases.php:232
195
+ msgid "Posts"
196
+ msgstr "Hozzászólás"
197
+
198
+ #: wpf-admin/dashboard.php:152 wpf-includes/wpf-phrases.php:179
199
+ msgid "Members Online"
200
+ msgstr "Online tagok"
201
+
202
+ #: wpf-admin/dashboard.php:162
203
+ msgid "Avatars Size"
204
+ msgstr "Avatar mérete"
205
+
206
+ #: wpf-admin/dashboard.php:166
207
+ msgid "Default Attachments Size"
208
+ msgstr "Alapértelmezett kép mérete"
209
+
210
+ #: wpf-admin/dashboard.php:172
211
+ msgid "Advanced Attachments"
212
+ msgstr ""
213
+
214
+ #: wpf-admin/dashboard.php:173
215
+ msgid "file(s)"
216
+ msgstr ""
217
+
218
+ #: wpf-admin/dashboard.php:176
219
+ msgid "Advanced Attachments Size"
220
+ msgstr ""
221
+
222
+ #: wpf-admin/dashboard.php:181
223
+ msgid "Total Size"
224
+ msgstr ""
225
+
226
+ #: wpf-admin/dashboard.php:189 wpf-includes/wpf-phrases.php:615
227
+ msgid "Forum Maintenance"
228
+ msgstr ""
229
+
230
+ #: wpf-admin/dashboard.php:191
231
+ msgid ""
232
+ "This process may take a few seconds or dozens of minutes, please be patient "
233
+ "and don't close this page. If you got 500 Server Error please don't worry, "
234
+ "the data updating process is still working in MySQL server."
235
+ msgstr ""
236
+
237
+ #: wpf-admin/dashboard.php:200
238
+ msgid "Delete All Caches"
239
+ msgstr ""
240
+
241
+ #: wpf-admin/dashboard.php:201 wpf-includes/wpf-phrases.php:617
242
+ msgid "Update Forums Statistic"
243
+ msgstr ""
244
+
245
+ #: wpf-admin/dashboard.php:202 wpf-includes/wpf-phrases.php:618
246
+ msgid "Update Users Statistic"
247
+ msgstr "Felhasználó statisztikájának frissítése"
248
+
249
+ #: wpf-admin/dashboard.php:203 w