Version Description
- Fixed a deprecated function issue for PHP 7.2 users
Download this release
Release Info
Developer | Rustaurius |
Plugin | Ultimate FAQ |
Version | 1.6.14 |
Comparing to | |
See all releases |
Code changes from version 1.6.13 to 1.6.14
- Functions/EWD_UFAQ_Meta_Boxes.php +2 -1
- Functions/EWD_UFAQ_Widgets.php +20 -5
- readme.txt +5 -2
Functions/EWD_UFAQ_Meta_Boxes.php
CHANGED
@@ -197,7 +197,8 @@ function EWD_UFAQ_Save_Meta_Box_Data($post_id) {
|
|
197 |
$Value = stripslashes_deep(trim(sanitize_text_field($_POST[$FieldName])));
|
198 |
$Options = explode(",", $FAQ_Field_Item['FieldValues']);
|
199 |
if (sizeOf($Options) > 0 and $Options[0] != "") {
|
200 |
-
|
|
|
201 |
$InArray = in_array($Value, $Options);
|
202 |
}
|
203 |
}
|
197 |
$Value = stripslashes_deep(trim(sanitize_text_field($_POST[$FieldName])));
|
198 |
$Options = explode(",", $FAQ_Field_Item['FieldValues']);
|
199 |
if (sizeOf($Options) > 0 and $Options[0] != "") {
|
200 |
+
$Trimmed_Options = array_map('trim', $Options);
|
201 |
+
$Options = $Trimmed_Options;
|
202 |
$InArray = in_array($Value, $Options);
|
203 |
}
|
204 |
}
|
Functions/EWD_UFAQ_Widgets.php
CHANGED
@@ -59,7 +59,10 @@ class EWD_UFAQ_Display_FAQ_Post_List extends WP_Widget {
|
|
59 |
return $instance;
|
60 |
}
|
61 |
}
|
62 |
-
|
|
|
|
|
|
|
63 |
|
64 |
class EWD_UFAQ_Display_Recent_FAQS extends WP_Widget {
|
65 |
|
@@ -121,7 +124,10 @@ class EWD_UFAQ_Display_Recent_FAQS extends WP_Widget {
|
|
121 |
return $instance;
|
122 |
}
|
123 |
}
|
124 |
-
|
|
|
|
|
|
|
125 |
|
126 |
class EWD_UFAQ_Display_Popular_FAQS extends WP_Widget {
|
127 |
|
@@ -183,7 +189,10 @@ class EWD_UFAQ_Display_Popular_FAQS extends WP_Widget {
|
|
183 |
return $instance;
|
184 |
}
|
185 |
}
|
186 |
-
|
|
|
|
|
|
|
187 |
|
188 |
class EWD_UFAQ_Display_Random_FAQ extends WP_Widget {
|
189 |
|
@@ -241,7 +250,10 @@ class EWD_UFAQ_Display_Random_FAQ extends WP_Widget {
|
|
241 |
return $instance;
|
242 |
}
|
243 |
}
|
244 |
-
|
|
|
|
|
|
|
245 |
|
246 |
class EWD_UFAQ_Display_FAQ_Categories extends WP_Widget {
|
247 |
|
@@ -303,6 +315,9 @@ class EWD_UFAQ_Display_FAQ_Categories extends WP_Widget {
|
|
303 |
return $instance;
|
304 |
}
|
305 |
}
|
306 |
-
|
|
|
|
|
|
|
307 |
|
308 |
?>
|
59 |
return $instance;
|
60 |
}
|
61 |
}
|
62 |
+
function EWD_UFAQ_Register_Display_FAQ_Post_List() {
|
63 |
+
register_widget("EWD_UFAQ_Display_FAQ_Post_List");
|
64 |
+
}
|
65 |
+
add_action('widgets_init', 'EWD_UFAQ_Register_Display_FAQ_Post_List');
|
66 |
|
67 |
class EWD_UFAQ_Display_Recent_FAQS extends WP_Widget {
|
68 |
|
124 |
return $instance;
|
125 |
}
|
126 |
}
|
127 |
+
function EWD_UFAQ_Register_Display_Recent_FAQS() {
|
128 |
+
register_widget("EWD_UFAQ_Display_Recent_FAQS");
|
129 |
+
}
|
130 |
+
add_action('widgets_init', 'EWD_UFAQ_Register_Display_Recent_FAQS');
|
131 |
|
132 |
class EWD_UFAQ_Display_Popular_FAQS extends WP_Widget {
|
133 |
|
189 |
return $instance;
|
190 |
}
|
191 |
}
|
192 |
+
function EWD_UFAQ_Register_Display_Popular_FAQS() {
|
193 |
+
register_widget("EWD_UFAQ_Display_Popular_FAQS");
|
194 |
+
}
|
195 |
+
add_action('widgets_init', 'EWD_UFAQ_Register_Display_Popular_FAQS');
|
196 |
|
197 |
class EWD_UFAQ_Display_Random_FAQ extends WP_Widget {
|
198 |
|
250 |
return $instance;
|
251 |
}
|
252 |
}
|
253 |
+
function EWD_UFAQ_Register_Display_Random_FAQ() {
|
254 |
+
register_widget("EWD_UFAQ_Display_Random_FAQ");
|
255 |
+
}
|
256 |
+
add_action('widgets_init', 'EWD_UFAQ_Register_Display_Random_FAQ');
|
257 |
|
258 |
class EWD_UFAQ_Display_FAQ_Categories extends WP_Widget {
|
259 |
|
315 |
return $instance;
|
316 |
}
|
317 |
}
|
318 |
+
function EWD_UFAQ_Register_Display_FAQ_Categories() {
|
319 |
+
register_widget("EWD_UFAQ_Display_FAQ_Categories");
|
320 |
+
}
|
321 |
+
add_action('widgets_init', 'EWD_UFAQ_Register_Display_FAQ_Categories');
|
322 |
|
323 |
?>
|
readme.txt
CHANGED
@@ -10,7 +10,7 @@ FAQ plugin that lets you easily create, order and publicize FAQs using shortcode
|
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
-
FAQ plugin that lets you create FAQs (frequently asked questions), organize FAQs and publicize your FAQ in no time through your Wordpress admin panel. Select from multiple FAQ
|
14 |
|
15 |
[FAQ Demo](https://www.etoilewebdesign.com/ultimate-faq-demo/)
|
16 |
|
@@ -30,7 +30,7 @@ FAQ plugin that lets you create FAQs (frequently asked questions), organize FAQs
|
|
30 |
[ultimate-faqs]
|
31 |
`
|
32 |
|
33 |
-
Simply insert the shortcode
|
34 |
|
35 |
You can use either the toggle FAQ and/or accordion responsive FAQ style, to display one expanded FAQ answer on click, or choose to display all FAQs on page load, with the optional responsive list FAQ style that offers a more traditional FAQ layout.
|
36 |
|
@@ -266,6 +266,9 @@ Video 3 - FAQs Ordering
|
|
266 |
|
267 |
|
268 |
== Changelog ==
|
|
|
|
|
|
|
269 |
= 1.6.13 =
|
270 |
- Added in Ultimate WP Mail integration for the submit shortcode
|
271 |
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
+
FAQ plugin that lets you create FAQs (frequently asked questions), organize FAQs and publicize your FAQ in no time through your Wordpress admin panel. Select from multiple FAQ layouts and FAQ styles.
|
14 |
|
15 |
[FAQ Demo](https://www.etoilewebdesign.com/ultimate-faq-demo/)
|
16 |
|
30 |
[ultimate-faqs]
|
31 |
`
|
32 |
|
33 |
+
Simply insert the above shortcode into any page to display your FAQs.
|
34 |
|
35 |
You can use either the toggle FAQ and/or accordion responsive FAQ style, to display one expanded FAQ answer on click, or choose to display all FAQs on page load, with the optional responsive list FAQ style that offers a more traditional FAQ layout.
|
36 |
|
266 |
|
267 |
|
268 |
== Changelog ==
|
269 |
+
= 1.6.14 =
|
270 |
+
- Fixed a deprecated function issue for PHP 7.2 users
|
271 |
+
|
272 |
= 1.6.13 =
|
273 |
- Added in Ultimate WP Mail integration for the submit shortcode
|
274 |
|