Version Description
- Made a number of changes to speed up page loads for longer FAQs
- Fixed an issue with the "Random FAQ" widget where an FAQ would be displayed multiple times if it was in multiple categories
Download this release
Release Info
Developer | Rustaurius |
Plugin | Ultimate FAQ |
Version | 1.5.26 |
Comparing to | |
See all releases |
Code changes from version 1.5.25 to 1.5.26
- Main.php +5 -4
- html/DashboardPage.php +1 -1
- readme.txt +1 -1
Main.php
CHANGED
@@ -7,14 +7,15 @@ 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.5.
|
11 |
*/
|
12 |
|
13 |
global $ewd_ufaq_message;
|
14 |
global $UFAQ_Full_Version;
|
15 |
global $EWD_UFAQ_Version;
|
16 |
|
17 |
-
$EWD_UFAQ_Version = '1.5.
|
|
|
18 |
|
19 |
define( 'EWD_UFAQ_CD_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
|
20 |
define( 'EWD_UFAQ_CD_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
|
@@ -118,7 +119,7 @@ function Add_EWD_UFAQ_Scripts($hook) {
|
|
118 |
|
119 |
wp_enqueue_script('jquery-ui-sortable');
|
120 |
wp_enqueue_script('sortable', $url_one, array('jquery'));
|
121 |
-
wp_enqueue_script('UFAQ Admin', $url_two, array('jquery'));
|
122 |
wp_enqueue_script('spectrum', $url_three, array('jquery'));
|
123 |
}
|
124 |
|
@@ -130,7 +131,7 @@ function Add_EWD_UFAQ_Scripts($hook) {
|
|
130 |
}
|
131 |
|
132 |
function EWD_UFAQ_Admin_Options() {
|
133 |
-
wp_enqueue_style( 'ewd-ufaq-admin', plugins_url("ultimate-faqs/css/Admin.css"));
|
134 |
wp_enqueue_style( 'ewd-ufaq-spectrum', plugins_url("ultimate-faqs/css/spectrum.css"));
|
135 |
}
|
136 |
|
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.5.26
|
11 |
*/
|
12 |
|
13 |
global $ewd_ufaq_message;
|
14 |
global $UFAQ_Full_Version;
|
15 |
global $EWD_UFAQ_Version;
|
16 |
|
17 |
+
$EWD_UFAQ_Version = '1.5.25';
|
18 |
+
if (get_option("EWD_UFAQ_Version") == "") {update_option("EWD_UFAQ_Version", $EWD_UFAQ_Version);}
|
19 |
|
20 |
define( 'EWD_UFAQ_CD_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
|
21 |
define( 'EWD_UFAQ_CD_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
|
119 |
|
120 |
wp_enqueue_script('jquery-ui-sortable');
|
121 |
wp_enqueue_script('sortable', $url_one, array('jquery'));
|
122 |
+
wp_enqueue_script('UFAQ Admin', $url_two, array('jquery'), $EWD_UFAQ_Version);
|
123 |
wp_enqueue_script('spectrum', $url_three, array('jquery'));
|
124 |
}
|
125 |
|
131 |
}
|
132 |
|
133 |
function EWD_UFAQ_Admin_Options() {
|
134 |
+
wp_enqueue_style( 'ewd-ufaq-admin', plugins_url("ultimate-faqs/css/Admin.css"), array(), $EWD_UFAQ_Version);
|
135 |
wp_enqueue_style( 'ewd-ufaq-spectrum', plugins_url("ultimate-faqs/css/spectrum.css"));
|
136 |
}
|
137 |
|
html/DashboardPage.php
CHANGED
@@ -260,7 +260,7 @@ if (get_option("EWD_UFAQ_Update_Flag") == "Yes" or get_option("EWD_UFAQ_Install_
|
|
260 |
<div class="clear"></div>
|
261 |
<?php } ?>
|
262 |
|
263 |
-
<?php if ($Ask_Review_Date < time() and $Install_Time
|
264 |
<div id='ewd-ufaq-review-ask-overlay'></div>
|
265 |
<div class='ewd-ufaq-review-ask-popup'>
|
266 |
<div class='ewd-ufaq-review-ask-title'><?php _e('Thank You!', 'EWD_UFAQ'); ?></div>
|
260 |
<div class="clear"></div>
|
261 |
<?php } ?>
|
262 |
|
263 |
+
<?php if ($Ask_Review_Date < time() and $Install_Time < time() - 3600*24*4) { ?>
|
264 |
<div id='ewd-ufaq-review-ask-overlay'></div>
|
265 |
<div class='ewd-ufaq-review-ask-popup'>
|
266 |
<div class='ewd-ufaq-review-ask-title'><?php _e('Thank You!', 'EWD_UFAQ'); ?></div>
|
readme.txt
CHANGED
@@ -247,7 +247,7 @@ Video 3 - FAQs Ordering
|
|
247 |
13. View of FAQ custom fields in the admin
|
248 |
|
249 |
== Changelog ==
|
250 |
-
= 1.5.
|
251 |
- Made a number of changes to speed up page loads for longer FAQs
|
252 |
- Fixed an issue with the "Random FAQ" widget where an FAQ would be displayed multiple times if it was in multiple categories
|
253 |
|
247 |
13. View of FAQ custom fields in the admin
|
248 |
|
249 |
== Changelog ==
|
250 |
+
= 1.5.26 =
|
251 |
- Made a number of changes to speed up page loads for longer FAQs
|
252 |
- Fixed an issue with the "Random FAQ" widget where an FAQ would be displayed multiple times if it was in multiple categories
|
253 |
|