Ultimate FAQ - Version 1.6.1

Version Description

  • Minor performance enhancement
Download this release

Release Info

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

Code changes from version 1.6.0 to 1.6.1

Files changed (2) hide show
  1. Main.php +2 -2
  2. 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.6.0
11
  */
12
 
13
  global $ewd_ufaq_message;
@@ -222,7 +222,7 @@ if (isset($_GET['post_type']) and $_GET['post_type'] == 'ufaq' and isset($_POST[
222
 
223
  $rules = get_option('rewrite_rules');
224
  $PrettyLinks = get_option("EWD_UFAQ_Pretty_Permalinks");
225
- if ($PrettyLinks == "Yes") {
226
  add_filter( 'query_vars', 'EWD_UFAQ_add_query_vars_filter' );
227
  add_filter('init', 'EWD_UFAQ_Rewrite_Rules');
228
  update_option("EWD_UFAQ_Update_RR_Rules", "No");
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.6.1
11
  */
12
 
13
  global $ewd_ufaq_message;
222
 
223
  $rules = get_option('rewrite_rules');
224
  $PrettyLinks = get_option("EWD_UFAQ_Pretty_Permalinks");
225
+ if (!isset($rules['"(.?.+?)/single-faq/([^&]*)/?$"']) and $PrettyLinks == "Yes") {
226
  add_filter( 'query_vars', 'EWD_UFAQ_add_query_vars_filter' );
227
  add_filter('init', 'EWD_UFAQ_Rewrite_Rules');
228
  update_option("EWD_UFAQ_Update_RR_Rules", "No");
readme.txt CHANGED
@@ -268,6 +268,9 @@ Video 3 - FAQs Ordering
268
 
269
 
270
  == Changelog ==
 
 
 
271
  = 1.6.0 =
272
  - Added in a new FAQ style, contemporary
273
  - Fixed an apply_filters issue with the_title
268
 
269
 
270
  == Changelog ==
271
+ = 1.6.1 =
272
+ - Minor performance enhancement
273
+
274
  = 1.6.0 =
275
  - Added in a new FAQ style, contemporary
276
  - Fixed an apply_filters issue with the_title