Version Description
- Fixed a status error message
Download this release
Release Info
Developer | Rustaurius |
Plugin | Ultimate FAQ |
Version | 1.0.4 |
Comparing to | |
See all releases |
Code changes from version 1.0.3 to 1.0.4
- Functions/Error_Notices.php +4 -4
- Main.php +1 -1
- readme.txt +3 -0
Functions/Error_Notices.php
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
<?php
|
2 |
/* Add any update or error notices to the top of the admin page */
|
3 |
function EWD_UFAQ_Error_Notices(){
|
4 |
-
global $
|
5 |
-
if (isset($
|
6 |
-
if (isset($
|
7 |
-
if (isset($
|
8 |
}
|
9 |
}
|
10 |
|
1 |
<?php
|
2 |
/* Add any update or error notices to the top of the admin page */
|
3 |
function EWD_UFAQ_Error_Notices(){
|
4 |
+
global $ewd_ufaq_message;
|
5 |
+
if (isset($ewd_ufaq_message)) {
|
6 |
+
if (isset($ewd_ufaq_message['Message_Type']) and $ewd_ufaq_message['Message_Type'] == "Update") {echo "<div class='updated'><p>" . $ewd_ufaq_message['Message'] . "</p></div>";}
|
7 |
+
if (isset($ewd_ufaq_message['Message_Type']) and $ewd_ufaq_message['Message_Type'] == "Error") {echo "<div class='error'><p>" . $ewd_ufaq_message['Message'] . "</p></div>";}
|
8 |
}
|
9 |
}
|
10 |
|
Main.php
CHANGED
@@ -7,7 +7,7 @@ Author: Tim Ruse
|
|
7 |
Author URI: http://www.EtoileWebDesign.com/wordpress-plugins/
|
8 |
Terms and Conditions: http://www.etoilewebdesign.com/plugin-terms-and-conditions/
|
9 |
Text Domain: EWD_UFAQ
|
10 |
-
Version: 1.0.
|
11 |
*/
|
12 |
|
13 |
global $ewd_ufaq_message;
|
7 |
Author URI: http://www.EtoileWebDesign.com/wordpress-plugins/
|
8 |
Terms and Conditions: http://www.etoilewebdesign.com/plugin-terms-and-conditions/
|
9 |
Text Domain: EWD_UFAQ
|
10 |
+
Version: 1.0.4
|
11 |
*/
|
12 |
|
13 |
global $ewd_ufaq_message;
|
readme.txt
CHANGED
@@ -101,6 +101,9 @@ For more questions and support you can post in the support forum:
|
|
101 |
2. Sample FAQ page
|
102 |
|
103 |
== Changelog ==
|
|
|
|
|
|
|
104 |
= 1.0.3 =
|
105 |
- Added in widgets to display a number of popular or recently created faqs
|
106 |
|
101 |
2. Sample FAQ page
|
102 |
|
103 |
== Changelog ==
|
104 |
+
= 1.0.4 =
|
105 |
+
- Fixed a status error message
|
106 |
+
|
107 |
= 1.0.3 =
|
108 |
- Added in widgets to display a number of popular or recently created faqs
|
109 |
|