Ultimate FAQ - Version 1.1.8

Version Description

  • Fixed a scrolling error with non-FAQ links
Download this release

Release Info

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

Code changes from version 1.1.7 to 1.1.8

Files changed (3) hide show
  1. Main.php +3 -3
  2. js/ewd-ufaq-js.js +2 -2
  3. 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: EWD_UFAQ
10
- Version: 1.1.7
11
  */
12
 
13
  global $ewd_ufaq_message;
@@ -133,8 +133,8 @@ function Set_EWD_UFAQ_Options() {
133
  }
134
 
135
  $UFAQ_Full_Version = get_option("EWD_UFAQ_Full_Version");
136
- if ($_GET['post_type'] == 'ufaq' and $UFAQ_Full_Version != "Yes") {add_action("admin_notices", "EWD_UFAQ_Upgrade_Box");}
137
- if ($_GET['post_type'] == 'ufaq' and isset($_POST['Upgrade_To_Full']) and $UFAQ_Full_Version == "Yes") {add_action("admin_notices", "EWD_UFAQ_Upgrade_Notice");}
138
 
139
  $rules = get_option('rewrite_rules');
140
  $PrettyLinks = get_option("EWD_UFAQ_Pretty_Permalinks");
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.1.8
11
  */
12
 
13
  global $ewd_ufaq_message;
133
  }
134
 
135
  $UFAQ_Full_Version = get_option("EWD_UFAQ_Full_Version");
136
+ if (isset($_GET['post_type']) and $_GET['post_type'] == 'ufaq' and $UFAQ_Full_Version != "Yes") {add_action("admin_notices", "EWD_UFAQ_Upgrade_Box");}
137
+ if (isset($_GET['post_type']) and $_GET['post_type'] == 'ufaq' and isset($_POST['Upgrade_To_Full']) and $UFAQ_Full_Version == "Yes") {add_action("admin_notices", "EWD_UFAQ_Upgrade_Notice");}
138
 
139
  $rules = get_option('rewrite_rules');
140
  $PrettyLinks = get_option("EWD_UFAQ_Pretty_Permalinks");
js/ewd-ufaq-js.js CHANGED
@@ -160,7 +160,7 @@ function Ufaq_Ajax_Reload() {
160
  });
161
  }
162
 
163
- jQuery(document).ready(function() {
164
  jQuery('a[href*=#]:not([href=#])').click(function() {
165
  var post_id = jQuery(this).attr("data-postid");
166
  var selectedIDString = 'ufaq-body-'+post_id;
@@ -185,4 +185,4 @@ jQuery(document).ready(function() {
185
  }
186
  }
187
  });
188
- });
160
  });
161
  }
162
 
163
+ /*jQuery(document).ready(function() {
164
  jQuery('a[href*=#]:not([href=#])').click(function() {
165
  var post_id = jQuery(this).attr("data-postid");
166
  var selectedIDString = 'ufaq-body-'+post_id;
185
  }
186
  }
187
  });
188
+ });*/
readme.txt CHANGED
@@ -126,6 +126,9 @@ For more questions and support you can post in the support forum:
126
  9. All answers displayed in the 'list' FAQ mode
127
 
128
  == Changelog ==
 
 
 
129
  = 1.1.7 =
130
  - Should fix small problems with the "select-faq" shortcode and the "FAQ ID List" widget
131
 
126
  9. All answers displayed in the 'list' FAQ mode
127
 
128
  == Changelog ==
129
+ = 1.1.8 =
130
+ - Fixed a scrolling error with non-FAQ links
131
+
132
  = 1.1.7 =
133
  - Should fix small problems with the "select-faq" shortcode and the "FAQ ID List" widget
134