Ultimate FAQ - Version 1.5.37

Version Description

  • Fixed an error with the "Main FAQ page" permalink setting
Download this release

Release Info

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

Code changes from version 1.5.36 to 1.5.37

Files changed (3) hide show
  1. Main.php +1 -1
  2. Shortcodes/DisplayFAQs.php +4 -2
  3. readme.txt +4 -1
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.5.36
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.5.37
11
  */
12
 
13
  global $ewd_ufaq_message;
Shortcodes/DisplayFAQs.php CHANGED
@@ -173,6 +173,8 @@ function Display_FAQs($atts) {
173
  );
174
  }
175
 
 
 
176
  $ReturnString .= "<div class='ufaq-faq-list' id='ufaq-faq-list'>";
177
  $HeaderString .= "<div class='ufaq-faq-header'>";
178
 
@@ -273,8 +275,8 @@ function Display_FAQs($atts) {
273
  $FAQ_Permalink = get_permalink($faq->ID);
274
  }
275
  else {
276
- if ($Pretty_Permalinks == "Yes") {$FAQ_Permalink = get_the_permalink() . "single-faq/" . $faq->post_name;}
277
- else {$FAQ_Permalink = get_the_permalink() . "?Display_FAQ=" . $faq->ID;}
278
  }
279
 
280
  if ($Display_FAQ_ID == $faq->ID) {
173
  );
174
  }
175
 
176
+ $Page_Permalink = get_the_permalink();
177
+
178
  $ReturnString .= "<div class='ufaq-faq-list' id='ufaq-faq-list'>";
179
  $HeaderString .= "<div class='ufaq-faq-header'>";
180
 
275
  $FAQ_Permalink = get_permalink($faq->ID);
276
  }
277
  else {
278
+ if ($Pretty_Permalinks == "Yes") {$FAQ_Permalink = $Page_Permalink . "single-faq/" . $faq->post_name;}
279
+ else {$FAQ_Permalink = $Page_Permalink . "?Display_FAQ=" . $faq->ID;}
280
  }
281
 
282
  if ($Display_FAQ_ID == $faq->ID) {
readme.txt CHANGED
@@ -1,4 +1,4 @@
1
- === Ultimate FAQ ===
2
  Contributors: Rustaurius, EtoileWebDesign
3
  Tags: faq, faqs, woocommerce faq, frequently asked questions, faq widget
4
  Requires at least: 3.9.0
@@ -249,6 +249,9 @@ Video 3 - FAQs Ordering
249
  13. View of FAQ custom fields in the admin
250
 
251
  == Changelog ==
 
 
 
252
  = 1.5.36 =
253
  - Minor admin styling update
254
 
1
+ === FAQ ===
2
  Contributors: Rustaurius, EtoileWebDesign
3
  Tags: faq, faqs, woocommerce faq, frequently asked questions, faq widget
4
  Requires at least: 3.9.0
249
  13. View of FAQ custom fields in the admin
250
 
251
  == Changelog ==
252
+ = 1.5.37 =
253
+ - Fixed an error with the "Main FAQ page" permalink setting
254
+
255
  = 1.5.36 =
256
  - Minor admin styling update
257