Ultimate FAQ - Version 1.7.1

Version Description

  • Added an explanation for why "file" type custom fields cannot be included in a user-submitted FAQ
  • Fixed a small admin CSS conflict with Gravity Forms
Download this release

Release Info

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

Code changes from version 1.7.0 to 1.7.1

Functions/EWD_UFAQ_WooCommerce_Tab.php CHANGED
@@ -87,7 +87,7 @@ function EWD_UFAQ_Add_FAQs_Product_Tab($array) {
87
  add_filter( 'woocommerce_product_data_tabs', 'EWD_UFAQ_Add_FAQs_Product_Tab', 10, 1 );
88
 
89
  function EWD_UFAQ_WooCommerce_Product_Page_FAQs() {
90
- global $post, $thepostid;
91
 
92
  $WooCommerce_FAQs = get_option("EWD_UFAQ_WooCommerce_FAQs");
93
  if ($WooCommerce_FAQs != "Yes") {return;}
87
  add_filter( 'woocommerce_product_data_tabs', 'EWD_UFAQ_Add_FAQs_Product_Tab', 10, 1 );
88
 
89
  function EWD_UFAQ_WooCommerce_Product_Page_FAQs() {
90
+ global $thepostid;
91
 
92
  $WooCommerce_FAQs = get_option("EWD_UFAQ_WooCommerce_FAQs");
93
  if ($WooCommerce_FAQs != "Yes") {return;}
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.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: ultimate-faqs
10
+ Version: 1.7.1
11
  */
12
 
13
  global $ewd_ufaq_message;
css/Admin.css CHANGED
@@ -311,9 +311,6 @@ EXTRA
311
  padding-left: 1.25em;
312
  }
313
 
314
- #wpfooter {
315
- bottom: initial;
316
- }
317
  .ewd-ufaq-dashboard-submit {
318
  height: 40px !important;
319
  width: 150px;
311
  padding-left: 1.25em;
312
  }
313
 
 
 
 
314
  .ewd-ufaq-dashboard-submit {
315
  height: 40px !important;
316
  width: 150px;
html/DashboardPage.php CHANGED
@@ -20,6 +20,23 @@
20
 
21
  <!-- START NEW DASHBOARD -->
22
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  <div id="ewd-ufaq-dashboard-content-area">
24
 
25
  <div id="ewd-ufaq-dashboard-content-left">
20
 
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>
29
+ <p><?php _e('Your positive feedback and constructive suggestions on how to improve our plugins make coming in to work every day worth it for us.', 'ultimate-faqs'); ?></p>
30
+ <p><strong><?php _e("Haven't had a chance to leave a review yet? You can do so at:", 'ultimate-faqs'); ?></strong></p>
31
+ <a href='https://wordpress.org/support/plugin/ultimate-faqs/reviews/' target="_blank" class='ewd-ufaq-review-ask-content-link'>Leave a Review!</a>
32
+ </div>
33
+ <div class='ewd-ufaq-review-ask-footer-links'>
34
+ <div class='ewd-ufaq-hide-review-ask' id="ewd-ufaq-hide-review-ask-week" data-askreviewdelay='7'><?php _e('Ask me in a week', 'ultimate-faqs'); ?></div>
35
+ <div class='ewd-ufaq-hide-review-ask' id="ewd-ufaq-hide-review-ask-never" data-askreviewdelay='2000'><?php _e('Never ask me again', 'ultimate-faqs'); ?></div>
36
+ </div>
37
+ </div>
38
+ <?php } ?>
39
+
40
  <div id="ewd-ufaq-dashboard-content-area">
41
 
42
  <div id="ewd-ufaq-dashboard-content-left">
html/OptionsPage.php CHANGED
@@ -781,7 +781,8 @@
781
  ?>
782
  </table>
783
  <p>Should any extra fields be added to the FAQs?<br />
784
- The "Field Values" should be a comma-separated list of values for the select, radio or checkbox field types (no extra spaces after the comma)</p>
 
785
  </fieldset>
786
  </td>
787
  </tr>
781
  ?>
782
  </table>
783
  <p>Should any extra fields be added to the FAQs?<br />
784
+ The "Field Values" should be a comma-separated list of values for the select, radio or checkbox field types (no extra spaces after the comma)<br />
785
+ For security reasons, file fields cannot be included in the submit FAQ form.</p>
786
  </fieldset>
787
  </td>
788
  </tr>
readme.txt CHANGED
@@ -270,6 +270,10 @@ Video 3 - FAQs Ordering
270
 
271
 
272
  == Changelog ==
 
 
 
 
273
  = 1.7.0 =
274
  - Added the ability to include a "Post Date" and any custom fields when importing or exporting FAQs to a spreadsheet
275
  - Added an attribute so that only FAQ posts in a parent category is displayed instead of all of the FAQ posts in child categories as welll
270
 
271
 
272
  == Changelog ==
273
+ = 1.7.1 =
274
+ - Added an explanation for why "file" type custom fields cannot be included in a user-submitted FAQ
275
+ - Fixed a small admin CSS conflict with Gravity Forms
276
+
277
  = 1.7.0 =
278
  - Added the ability to include a "Post Date" and any custom fields when importing or exporting FAQs to a spreadsheet
279
  - Added an attribute so that only FAQ posts in a parent category is displayed instead of all of the FAQ posts in child categories as welll