Version Description
- Small update to the sanitization of an FAQ URL parameter
Download this release
Release Info
Developer | Rustaurius |
Plugin | Ultimate FAQ |
Version | 1.8.30 |
Comparing to | |
See all releases |
Code changes from version 1.8.29 to 1.8.30
- Main.php +1 -1
- Shortcodes/DisplayFAQs.php +1 -1
- html/AdminHeader.php +1 -17
- readme.txt +3 -0
Main.php
CHANGED
@@ -7,7 +7,7 @@ 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.8.
|
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: ultimate-faqs
|
10 |
+
Version: 1.8.30
|
11 |
*/
|
12 |
|
13 |
global $ewd_ufaq_message;
|
Shortcodes/DisplayFAQs.php
CHANGED
@@ -245,7 +245,7 @@ function Display_FAQs($atts) {
|
|
245 |
$Display_FAQ_ID = $FAQ->ID;
|
246 |
}
|
247 |
elseif (isset($_GET['Display_FAQ'])) {
|
248 |
-
$ReturnString .= "<script>var Display_FAQ_ID = '" . $_GET['Display_FAQ'] . "-%Counter_Placeholder%';</script>";
|
249 |
$Display_FAQ_ID = $_GET['Display_FAQ'];
|
250 |
}
|
251 |
else {$Display_FAQ_ID = "";}
|
245 |
$Display_FAQ_ID = $FAQ->ID;
|
246 |
}
|
247 |
elseif (isset($_GET['Display_FAQ'])) {
|
248 |
+
$ReturnString .= "<script>var Display_FAQ_ID = '" . intval($_GET['Display_FAQ']) . "-%Counter_Placeholder%';</script>";
|
249 |
$Display_FAQ_ID = $_GET['Display_FAQ'];
|
250 |
}
|
251 |
else {$Display_FAQ_ID = "";}
|
html/AdminHeader.php
CHANGED
@@ -3,28 +3,12 @@
|
|
3 |
|
4 |
|
5 |
<?php if ($UFAQ_Full_Version != "Yes" or get_option("EWD_UFAQ_Trial_Happening") == "Yes") { ?>
|
6 |
-
<?php $display_trial_banner = ( time() < 1575331200 and ( time() > 1574917200 or ( time() > 1574467200 and get_option('EWD_URP_Install_Time') < time() - 7*24*3600) ) ); ?>
|
7 |
<div class="ewd-ufaq-dashboard-new-upgrade-banner">
|
8 |
<div class="ewd-ufaq-dashboard-banner-icon"></div>
|
9 |
<div class="ewd-ufaq-dashboard-banner-buttons">
|
10 |
<a class="ewd-ufaq-dashboard-new-upgrade-button" href="https://www.etoilewebdesign.com/license-payment/?Selected=UFAQ&Quantity=1" target="_blank">UPGRADE NOW</a>
|
11 |
</div>
|
12 |
-
<div class="ewd-ufaq-dashboard-banner-text
|
13 |
-
<!-- Start Black Friday -->
|
14 |
-
<?php if ( $display_trial_banner ) { ?>
|
15 |
-
<div class="ewd-ufaq-dashboard-banner-black-friday-text">
|
16 |
-
<div class="ewd-ufaq-dashboard-banner-black-friday-title">
|
17 |
-
30% OFF PREMIUM FOR BLACK FRIDAY!
|
18 |
-
</div>
|
19 |
-
<div class="ewd-ufaq-dashboard-banner-black-friday-brief">
|
20 |
-
Upgrade now to receive this great discount. No coupon code necessary. November 28th to December 2nd EST.
|
21 |
-
</div>
|
22 |
-
<div class="ewd-ufaq-dashboard-banner-black-friday-brief-mobile">
|
23 |
-
November 28th to December 2nd EST.
|
24 |
-
</div>
|
25 |
-
</div>
|
26 |
-
<?php } ?>
|
27 |
-
<!-- End Black Friday -->
|
28 |
<div class="ewd-ufaq-dashboard-banner-title">
|
29 |
GET FULL ACCESS WITH OUR PREMIUM VERSION
|
30 |
</div>
|
3 |
|
4 |
|
5 |
<?php if ($UFAQ_Full_Version != "Yes" or get_option("EWD_UFAQ_Trial_Happening") == "Yes") { ?>
|
|
|
6 |
<div class="ewd-ufaq-dashboard-new-upgrade-banner">
|
7 |
<div class="ewd-ufaq-dashboard-banner-icon"></div>
|
8 |
<div class="ewd-ufaq-dashboard-banner-buttons">
|
9 |
<a class="ewd-ufaq-dashboard-new-upgrade-button" href="https://www.etoilewebdesign.com/license-payment/?Selected=UFAQ&Quantity=1" target="_blank">UPGRADE NOW</a>
|
10 |
</div>
|
11 |
+
<div class="ewd-ufaq-dashboard-banner-text">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
<div class="ewd-ufaq-dashboard-banner-title">
|
13 |
GET FULL ACCESS WITH OUR PREMIUM VERSION
|
14 |
</div>
|
readme.txt
CHANGED
@@ -281,6 +281,9 @@ Video 3 - FAQs Ordering
|
|
281 |
|
282 |
== Changelog ==
|
283 |
|
|
|
|
|
|
|
284 |
= 1.8.29 =
|
285 |
- Update for the admin dashboard
|
286 |
|
281 |
|
282 |
== Changelog ==
|
283 |
|
284 |
+
= 1.8.30 =
|
285 |
+
- Small update to the sanitization of an FAQ URL parameter
|
286 |
+
|
287 |
= 1.8.29 =
|
288 |
- Update for the admin dashboard
|
289 |
|