Version Description
- Another minor update for the rewite_rules issue
Download this release
Release Info
Developer | Rustaurius |
Plugin | Ultimate FAQ |
Version | 1.8.3 |
Comparing to | |
See all releases |
Code changes from version 1.8.2 to 1.8.3
- Main.php +3 -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: ultimate-faqs
|
10 |
-
Version: 1.8.
|
11 |
*/
|
12 |
|
13 |
global $ewd_ufaq_message;
|
@@ -255,9 +255,9 @@ function Set_EWD_UFAQ_Options() {
|
|
255 |
$UFAQ_Full_Version = get_option("EWD_UFAQ_Full_Version");
|
256 |
if (isset($_GET['post_type']) and $_GET['post_type'] == 'ufaq' and isset($_POST['EWD_UFAQ_Upgrade_To_Full']) and $UFAQ_Full_Version == "Yes") {add_action("admin_notices", "EWD_UFAQ_Upgrade_Notice");}
|
257 |
|
258 |
-
$
|
259 |
$PrettyLinks = get_option("EWD_UFAQ_Pretty_Permalinks");
|
260 |
-
if (!isset($
|
261 |
add_filter( 'query_vars', 'EWD_UFAQ_add_query_vars_filter' );
|
262 |
add_filter('init', 'EWD_UFAQ_Rewrite_Rules');
|
263 |
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.8.3
|
11 |
*/
|
12 |
|
13 |
global $ewd_ufaq_message;
|
255 |
$UFAQ_Full_Version = get_option("EWD_UFAQ_Full_Version");
|
256 |
if (isset($_GET['post_type']) and $_GET['post_type'] == 'ufaq' and isset($_POST['EWD_UFAQ_Upgrade_To_Full']) and $UFAQ_Full_Version == "Yes") {add_action("admin_notices", "EWD_UFAQ_Upgrade_Notice");}
|
257 |
|
258 |
+
$UFAQ_Rules = get_option('rewrite_rules');
|
259 |
$PrettyLinks = get_option("EWD_UFAQ_Pretty_Permalinks");
|
260 |
+
if (!isset($UFAQ_Rules['(.?.+?)/single-faq/([^&]*)/?$']) and $PrettyLinks == "Yes") {
|
261 |
add_filter( 'query_vars', 'EWD_UFAQ_add_query_vars_filter' );
|
262 |
add_filter('init', 'EWD_UFAQ_Rewrite_Rules');
|
263 |
update_option("EWD_UFAQ_Update_RR_Rules", "No");
|
readme.txt
CHANGED
@@ -270,6 +270,9 @@ Video 3 - FAQs Ordering
|
|
270 |
|
271 |
|
272 |
== Changelog ==
|
|
|
|
|
|
|
273 |
= 1.8.2 =
|
274 |
- Removed an extra set of quotation marks that was causing flush_rewrite_rules to sometimes be called unnecessarily on init
|
275 |
- Fixed a styling option that wasn't working correctly for setting the category heading type
|
270 |
|
271 |
|
272 |
== Changelog ==
|
273 |
+
= 1.8.3 =
|
274 |
+
- Another minor update for the rewite_rules issue
|
275 |
+
|
276 |
= 1.8.2 =
|
277 |
- Removed an extra set of quotation marks that was causing flush_rewrite_rules to sometimes be called unnecessarily on init
|
278 |
- Fixed a styling option that wasn't working correctly for setting the category heading type
|