Ultimate FAQ - Version 2.2.2

Version Description

(2022-12-08) = - Update to remove warning notice that was sometimes displaying on the FAQ search page if certain parameters were not defined.

Download this release

Release Info

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

Code changes from version 2.2.1 to 2.2.2

lib/simple-admin-pages/classes/AdminPage.class.php CHANGED
@@ -258,7 +258,7 @@ class sapAdminPage_2_6_9 {
258
  }
259
 
260
  /**
261
- * Output the title of the page
262
  * @since 2.6.9
263
  */
264
  public function maybe_print_tutorial_div( $current_page ) {
258
  }
259
 
260
  /**
261
+ * Output the YouTube settings tutorial video
262
  * @since 2.6.9
263
  */
264
  public function maybe_print_tutorial_div( $current_page ) {
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: Rustaurius, EtoileWebDesign
3
  Tags: faq, faqs, accordion, woocommerce faq, gutenberg faq, faq block
4
  Requires at least: 5.0
5
  Tested up to: 6.1
6
- Stable tag: 2.2.1
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -261,6 +261,9 @@ For more info about the premium version, please see here: https://doc.etoilewebd
261
 
262
  == Changelog ==
263
 
 
 
 
264
  = 2.2.1 (2022-12-08) =
265
  - Updated an incorrect link URL in the admin.
266
  - Plus the following from 2.2.0:
3
  Tags: faq, faqs, accordion, woocommerce faq, gutenberg faq, faq block
4
  Requires at least: 5.0
5
  Tested up to: 6.1
6
+ Stable tag: 2.2.2
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
261
 
262
  == Changelog ==
263
 
264
+ = 2.2.2 (2022-12-08) =
265
+ - Update to remove warning notice that was sometimes displaying on the FAQ search page if certain parameters were not defined.
266
+
267
  = 2.2.1 (2022-12-08) =
268
  - Updated an incorrect link URL in the admin.
269
  - Plus the following from 2.2.0:
ultimate-faqs.php CHANGED
@@ -6,7 +6,7 @@ Description: FAQ and accordion plugin with easy to use Gutenberg blocks, shortco
6
  Author URI: https://www.etoilewebdesign.com/
7
  Terms and Conditions: https://www.etoilewebdesign.com/plugin-terms-and-conditions/
8
  Text Domain: ultimate-faqs
9
- Version: 2.2.1
10
  WC requires at least: 3.0
11
  WC tested up to: 7.1
12
  */
@@ -46,7 +46,7 @@ class ewdufaqInit {
46
  define( 'EWD_UFAQ_PLUGIN_URL', untrailingslashit( plugin_dir_url( __FILE__ ) ) );
47
  define( 'EWD_UFAQ_PLUGIN_FNAME', plugin_basename( __FILE__ ) );
48
  define( 'EWD_UFAQ_TEMPLATE_DIR', 'ewd-ufaq-templates' );
49
- define( 'EWD_UFAQ_VERSION', '2.2.1' );
50
 
51
  define( 'EWD_UFAQ_FAQ_POST_TYPE', 'ufaq' );
52
  define( 'EWD_UFAQ_FAQ_CATEGORY_TAXONOMY', 'ufaq-category' );
6
  Author URI: https://www.etoilewebdesign.com/
7
  Terms and Conditions: https://www.etoilewebdesign.com/plugin-terms-and-conditions/
8
  Text Domain: ultimate-faqs
9
+ Version: 2.2.2
10
  WC requires at least: 3.0
11
  WC tested up to: 7.1
12
  */
46
  define( 'EWD_UFAQ_PLUGIN_URL', untrailingslashit( plugin_dir_url( __FILE__ ) ) );
47
  define( 'EWD_UFAQ_PLUGIN_FNAME', plugin_basename( __FILE__ ) );
48
  define( 'EWD_UFAQ_TEMPLATE_DIR', 'ewd-ufaq-templates' );
49
+ define( 'EWD_UFAQ_VERSION', '2.2.2' );
50
 
51
  define( 'EWD_UFAQ_FAQ_POST_TYPE', 'ufaq' );
52
  define( 'EWD_UFAQ_FAQ_CATEGORY_TAXONOMY', 'ufaq-category' );
views/View.FAQs.class.php CHANGED
@@ -502,8 +502,8 @@ class ewdufaqViewFAQs extends ewdufaqView {
502
 
503
  $handle = 'ewd-ufaq-js';
504
  $args = array(
505
- 'faq_accordion' => $this->faq_accordion,
506
- 'category_accordion' => $this->category_accordion,
507
  'faq_scroll' => $ewd_ufaq_controller->settings->get_setting( 'scroll-to-top' ),
508
  'reveal_effect' => $ewd_ufaq_controller->settings->get_setting( 'reveal-effect' ),
509
  'retrieving_results' => $ewd_ufaq_controller->settings->get_setting( 'label-retrieving-results' ),
502
 
503
  $handle = 'ewd-ufaq-js';
504
  $args = array(
505
+ 'faq_accordion' => isset( $this->faq_accordion ) ? $this->faq_accordion : $ewd_ufaq_controller->settings->get_setting( 'faq-accordion' ),
506
+ 'category_accordion' => isset( $this->category_accordion ) ? $this->category_accordion : $ewd_ufaq_controller->settings->get_setting( 'faq-category-accordion' ),
507
  'faq_scroll' => $ewd_ufaq_controller->settings->get_setting( 'scroll-to-top' ),
508
  'reveal_effect' => $ewd_ufaq_controller->settings->get_setting( 'reveal-effect' ),
509
  'retrieving_results' => $ewd_ufaq_controller->settings->get_setting( 'label-retrieving-results' ),