Version Description
- Fixed an issue where new users were getting blank FAQs
Download this release
Release Info
Developer | Rustaurius |
Plugin | Ultimate FAQ |
Version | 1.6.10 |
Comparing to | |
See all releases |
Code changes from version 1.6.9 to 1.6.10
- Functions/Register_EWD_UFAQ_Posts_Taxonomies.php +1 -0
- Main.php +19 -2
- readme.txt +3 -0
Functions/Register_EWD_UFAQ_Posts_Taxonomies.php
CHANGED
@@ -2,6 +2,7 @@
|
|
2 |
add_action( 'init', 'EWD_UFAQ_Create_Posttype' );
|
3 |
function EWD_UFAQ_Create_Posttype() {
|
4 |
$Slug_Base = get_option("EWD_UFAQ_Slug_Base");
|
|
|
5 |
|
6 |
$labels = array(
|
7 |
'name' => __('FAQs', 'ultimate-faqs'),
|
2 |
add_action( 'init', 'EWD_UFAQ_Create_Posttype' );
|
3 |
function EWD_UFAQ_Create_Posttype() {
|
4 |
$Slug_Base = get_option("EWD_UFAQ_Slug_Base");
|
5 |
+
if ($Slug_Base == '') {$Slug_Base = 'ufaqs';}
|
6 |
|
7 |
$labels = array(
|
8 |
'name' => __('FAQs', 'ultimate-faqs'),
|
Main.php
CHANGED
@@ -2,12 +2,12 @@
|
|
2 |
/*
|
3 |
Plugin Name: Ultimate FAQ
|
4 |
Plugin URI: http://www.EtoileWebDesign.com/wordpress-plugins/
|
5 |
-
Description:
|
6 |
Author: Etoile Web Design
|
7 |
Author URI: http://www.EtoileWebDesign.com/wordpress-plugins/
|
8 |
Terms and Conditions: http://www.etoilewebdesign.com/plugin-terms-and-conditions/
|
9 |
Text Domain: ultimate-faqs
|
10 |
-
Version: 1.6.
|
11 |
*/
|
12 |
|
13 |
global $ewd_ufaq_message;
|
@@ -199,6 +199,22 @@ function Set_EWD_UFAQ_Options() {
|
|
199 |
if (get_option("EWD_UFAQ_Auto_Complete_Titles") == "") {update_option("EWD_UFAQ_Auto_Complete_Titles", "Yes");}
|
200 |
if (get_option("EWD_UFAQ_Slug_Base") == "") {update_option("EWD_UFAQ_Slug_Base", "ufaqs");}
|
201 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
202 |
if (get_option("EWD_UFAQ_Group_By_Category") == "") {update_option("EWD_UFAQ_Group_By_Category", "No");}
|
203 |
if (get_option("EWD_UFAQ_Group_By_Category_Count") == "") {update_option("EWD_UFAQ_Group_By_Category_Count", "No");}
|
204 |
if (get_option("EWD_UFAQ_Group_By_Order_By") == "") {update_option("EWD_UFAQ_Group_By_Order_By", "name");}
|
@@ -329,6 +345,7 @@ include "Shortcodes/SelectFAQ.php";
|
|
329 |
include "Shortcodes/SubmitFAQ.php";
|
330 |
|
331 |
if ($EWD_UFAQ_Version != get_option('EWD_UFAQ_Version')) {
|
|
|
332 |
EWD_UFAQ_Version_Update();
|
333 |
}
|
334 |
|
2 |
/*
|
3 |
Plugin Name: Ultimate FAQ
|
4 |
Plugin URI: http://www.EtoileWebDesign.com/wordpress-plugins/
|
5 |
+
Description: A plugin that lets you create FAQs (frequently asked questions), organize them, publicize them, etc.
|
6 |
Author: Etoile Web Design
|
7 |
Author URI: http://www.EtoileWebDesign.com/wordpress-plugins/
|
8 |
Terms and Conditions: http://www.etoilewebdesign.com/plugin-terms-and-conditions/
|
9 |
Text Domain: ultimate-faqs
|
10 |
+
Version: 1.6.10
|
11 |
*/
|
12 |
|
13 |
global $ewd_ufaq_message;
|
199 |
if (get_option("EWD_UFAQ_Auto_Complete_Titles") == "") {update_option("EWD_UFAQ_Auto_Complete_Titles", "Yes");}
|
200 |
if (get_option("EWD_UFAQ_Slug_Base") == "") {update_option("EWD_UFAQ_Slug_Base", "ufaqs");}
|
201 |
|
202 |
+
if (get_option("EWD_UFAQ_FAQ_Elements") == "") {
|
203 |
+
$FAQ_Elements = array();
|
204 |
+
$FAQ_Elements[0] = "Author_Date";
|
205 |
+
$FAQ_Elements[1] = "Body";
|
206 |
+
$FAQ_Elements[2] = "Custom_Fields";
|
207 |
+
$FAQ_Elements[3] = "Categories";
|
208 |
+
$FAQ_Elements[4] = "Tags";
|
209 |
+
$FAQ_Elements[5] = "Ratings";
|
210 |
+
$FAQ_Elements[6] = "Social_Media";
|
211 |
+
$FAQ_Elements[7] = "Permalink";
|
212 |
+
$FAQ_Elements[8] = "Comments";
|
213 |
+
$FAQ_Elements[9] = "Back_To_Top";
|
214 |
+
|
215 |
+
update_option("EWD_UFAQ_FAQ_Elements", $FAQ_Elements);
|
216 |
+
}
|
217 |
+
|
218 |
if (get_option("EWD_UFAQ_Group_By_Category") == "") {update_option("EWD_UFAQ_Group_By_Category", "No");}
|
219 |
if (get_option("EWD_UFAQ_Group_By_Category_Count") == "") {update_option("EWD_UFAQ_Group_By_Category_Count", "No");}
|
220 |
if (get_option("EWD_UFAQ_Group_By_Order_By") == "") {update_option("EWD_UFAQ_Group_By_Order_By", "name");}
|
345 |
include "Shortcodes/SubmitFAQ.php";
|
346 |
|
347 |
if ($EWD_UFAQ_Version != get_option('EWD_UFAQ_Version')) {
|
348 |
+
Set_EWD_UFAQ_Options();
|
349 |
EWD_UFAQ_Version_Update();
|
350 |
}
|
351 |
|
readme.txt
CHANGED
@@ -266,6 +266,9 @@ Video 3 - FAQs Ordering
|
|
266 |
|
267 |
|
268 |
== Changelog ==
|
|
|
|
|
|
|
269 |
= 1.6.9 =
|
270 |
- Added in the option to re-order the elements of an FAQ (body, date/author, categories, etc.)
|
271 |
|
266 |
|
267 |
|
268 |
== Changelog ==
|
269 |
+
= 1.6.10 =
|
270 |
+
- Fixed an issue where new users were getting blank FAQs
|
271 |
+
|
272 |
= 1.6.9 =
|
273 |
- Added in the option to re-order the elements of an FAQ (body, date/author, categories, etc.)
|
274 |
|