Ultimate FAQ - Version 1.7.3

Version Description

  • Made the review ask pop up conditional on having JavaScript enabled and error-free
Download this release

Release Info

Developer Rustaurius
Plugin Icon 128x128 Ultimate FAQ
Version 1.7.3
Comparing to
See all releases

Code changes from version 1.7.2 to 1.7.3

Files changed (4) hide show
  1. Main.php +1 -1
  2. html/DashboardPage.php +2 -2
  3. js/Admin.js +3 -0
  4. 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.7.2
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.7.3
11
  */
12
 
13
  global $ewd_ufaq_message;
html/DashboardPage.php CHANGED
@@ -21,8 +21,8 @@
21
  <!-- START NEW DASHBOARD -->
22
 
23
  <?php if ($Ask_Review_Date < time() and get_option("EWD_UFAQ_Install_Time") < time() - 3600*24*4) { ?>
24
- <div id='ewd-ufaq-review-ask-overlay'></div>
25
- <div class='ewd-ufaq-review-ask-popup'>
26
  <div class='ewd-ufaq-review-ask-title'><?php _e('Thank You!', 'ultimate-faqs'); ?></div>
27
  <div class='ewd-ufaq-review-ask-content'>
28
  <p><?php _e('We wanted to thank the users of our plugins for all of their great reviews recently.', 'ultimate-faqs'); ?></p>
21
  <!-- START NEW DASHBOARD -->
22
 
23
  <?php if ($Ask_Review_Date < time() and get_option("EWD_UFAQ_Install_Time") < time() - 3600*24*4) { ?>
24
+ <div id='ewd-ufaq-review-ask-overlay ufaq-hidden'></div>
25
+ <div class='ewd-ufaq-review-ask-popup ufaq-hidden'>
26
  <div class='ewd-ufaq-review-ask-title'><?php _e('Thank You!', 'ultimate-faqs'); ?></div>
27
  <div class='ewd-ufaq-review-ask-content'>
28
  <p><?php _e('We wanted to thank the users of our plugins for all of their great reviews recently.', 'ultimate-faqs'); ?></p>
js/Admin.js CHANGED
@@ -13,6 +13,9 @@ function ShowTab(TabName) {
13
  jQuery("#"+TabName+"_Menu").addClass("nav-tab-active");
14
  }
15
 
 
 
 
16
  /* This code is required to make changing the FAQ order a drag-and-drop affair */
17
  jQuery(document).ready(function() {
18
  jQuery('.ewd-ufaq-list').sortable({
13
  jQuery("#"+TabName+"_Menu").addClass("nav-tab-active");
14
  }
15
 
16
+ jQuery(document).ready(function() {
17
+ jQuery('.ewd-ufaq-review-ask-overlay, .ewd-ufaq-review-ask-popup').removeClass('ufaq-hidden');
18
+ });
19
  /* This code is required to make changing the FAQ order a drag-and-drop affair */
20
  jQuery(document).ready(function() {
21
  jQuery('.ewd-ufaq-list').sortable({
readme.txt CHANGED
@@ -270,6 +270,9 @@ Video 3 - FAQs Ordering
270
 
271
 
272
  == Changelog ==
 
 
 
273
  = 1.7.2 =
274
  - Added in an option to highlight the search term in the FAQ question and answer when using the search shortcode
275
 
270
 
271
 
272
  == Changelog ==
273
+ = 1.7.3 =
274
+ - Made the review ask pop up conditional on having JavaScript enabled and error-free
275
+
276
  = 1.7.2 =
277
  - Added in an option to highlight the search term in the FAQ question and answer when using the search shortcode
278