== Changelog == = 2.2.11 (2023-12-19) = - Fix for strtolower-related PHP 8.1+ deprecated notice. = 2.2.10 (2023-11-07) = - Tested for WordPress 6.4 compatibility/support. = 2.2.9 (2023-08-23) = - Tested and declaring compatibility with WooCommerce High-Performance Order Storage. = 2.2.8 (2023-08-08) = - Tested for WordPress 6.3 compatibility/support. = 2.2.7 (2023-07-31) = - Added the ability to record/track which search terms have been entered and the frequency of each. - Switched the "Include Category" parameter for the blocks to be checkboxes, via which you can select which categories to include, instead of a text input. - Added an option to disable permalink pages. - Switched the walk-through page creation to set the "FAQs Page" option equal to the created page rather than create the page with the [ultimate-faqs] shortcode in it. - Fixed an issue with font size for toggle symbol (from the styling settings) not being correctly applied. - Fixed FAQ preview not showing for search block when show on load parameter was set to yes. - Updated version of PHPSpreadsheet. = 2.2.6 (2023-03-31) = - Updated blocks for compatibility with WordPress 6.2. = 2.2.5 (2023-03-02) = - Corrected an issue causing the FAQ ratings to not increment when clicked. - Updated jQuery UI CSS and associated image assets. = 2.2.4 (2023-01-04) = - Fixes a potential fatal error on the settings page. = 2.2.3 (2023-01-03) = - Update to the settings page to correct an issue that could cause an error to display for checkbox options. - Updating a couple typos and incorrect link URLs in the dashboard/admin. = 2.2.2 (2022-12-08) = - Update to remove warning notice that was sometimes displaying on the FAQ search page if certain parameters were not defined. = 2.2.1 (2022-12-08) = - Updated an incorrect link URL in the admin. - Plus the following from 2.2.0: - Added new tutorial videos to the settings pages that explain and show what each option does. - Added quick links to the admin about page to re-run the walk-through, view tutorial videos and suggest a feature. - Added new parameters to the Display FAQs block and the ultimate-faqs shortcode that let you enable/disable FAQ accordion and category accordion. - Updated dropdown block parameters to have a default value. - Accessibility updates (e.g. for the Expand button and the FAQ search label). - Tested with PHP 8.1. - Updated the export class for PHP 8 compatibility. = 2.2.0 (2022-12-08) = - Added new tutorial videos to the settings pages that explain and show what each option does. - Added quick links to the admin about page to re-run the walk-through, view tutorial videos and suggest a feature. - Added new parameters to the Display FAQs block and the ultimate-faqs shortcode that let you enable/disable FAQ accordion and category accordion. - Updated dropdown block parameters to have a default value. - Accessibility updates (e.g. for the Expand button and the FAQ search label). - Tested with PHP 8.1. - Updated the export class for PHP 8 compatibility. = 2.1.18 (2022-10-13) = - Fixed an issue in which, if the include_category attribute was used in the search shortcode, multiple categories would display if some of the FAQs matching that category were in multiple categories. = 2.1.17 (2022-08-22) = - Updating a condition to make sure the new block patterns do not cause an error on WordPress installations using a version of WordPress older than 5.5. = 2.1.16 (2022-08-12) = - Introducing new block patterns, which can be used to integrate FAQs directly into your block-based theme templates. - Added a parameter to the Display FAQs block, as well as an attribute to the ultimate-faqs shortcode, that lets you enable/disable grouping FAQs by category for that specific instance. - Added a Tags column to the main admin FAQs overview/table. - Updated the success/failure/validation messaging for the submit question form and added labelling options for these. = 2.1.15 (2022-06-10) = - Fixed an issue in which FAQs were sometimes showing on archive pages for other custom post types if there was nothing selected for the FAQ Page setting. = 2.1.14 (2022-05-20) = - Tested with WordPress 6.0. = 2.1.13 (2022-05-17) = - Added previews for Gutenberg blocks (i.e. when, on the page edit screen, you add the block, it will show a preview). = 2.1.12 (2022-05-04) = - Added a setting to choose/set an FAQ page (as an alternative option to manually putting the block or shortcode on a page). - Implemented an option to highlight the search term in the results. - Multiple admins can now be emailed on question submission (comma-separated). - The "No Results Found" text is now wrapped in a selector, so you can style it separately, if desired. - FAQ Category Toggle now has a title attribute. It also has a tabindex="0" attribute so that the toggle div can be selected via the keyboard. - Added a small delay before fetching search results, so that, if someone is typing a query, less requests are being sent to the server. - Updated the X button that clears the search field, so that it sets the display back to no FAQs or all FAQs, depending on which option you have specified. - Fixed an issue causing date and datetime custom fields to show an incorrect input type on the FAQ edit screen. - FAQs set to Private now display on the front end when you are logged in to the site. - Removed some extra blank spaces that were showing in textarea edit fields. = 2.1.11 (2022-03-01) = - Fixed an issue causing invalid schema (structured data). = 2.1.10 (2022-02-23) = - Updated WPForms integration, so you can now specify a minimum character count before matching FAQs show. - Removed Gutenberg block code from the output of the post body in the structured data. - Fix for structured data not output on FAQ search page. - Fix for issue in which, when using the ordering table, editing the FAQ that was at the top would send it to the bottom. = 2.1.9 (2022-02-01) = - Fixed compatibility issue when using block-based themes. = 2.1.8 (2022-01-26) = - Updated escaping function to correct issue with the widget output. = 2.1.7 (2022-01-19) = - Added a new filter (ewd_ufaq_kses_allowed_html) to specify allowed tags for the FAQ answer/body. = 2.1.6 (2022-01-05) = - Fixed an issue causing the YouTube block to not output on the front end in an FAQ post. = 2.1.5 (2022-01-04) = - Updated class naming issues. - Fixed a few styling issues with the walk-through. = 2.1.4 (2021-12-29) = - Updated sanitizing and escaping. = 2.1.3 (2021-12-24) = - Updated sanitizing and escaping. - Added stable tag. = 2.1.2 (2021-12-23) = - Updating nonce and capability checks for AJAX calls. - Updating sanitization and escaping. = 2.1.1 (2021-12-22) = - Fixed an issue in which the defaults were not being correctly set for a few options. = 2.1.0 (2021-12-21) = - Changed how premium settings areas are previewed. - CSS styling update for the FAQ Details area on the FAQ edit screen. = 2.0.26 (2021-12-13) = - Added a notice pertaining to the requirement of the premium helper plugin to access premium settings and content. = 2.0.25 (2021-11-03) = - Updates the SAP library to version 2.6.1 - Updates setting's so that a number display only conditionally on other settings' values - Fix for the 'X' in the search box not re-triggering the AJAX search = 2.0.24 (2021-10-07) = - Adds in error handling for when the display_faq isn't defined - Adds in additional checks to prevent a console errors when the plugin JS files are loaded without the default localization data being defined. = 2.0.23 (2021-09-17) = - Updated how secondary assets are conditionally enqueued. - Adds in a check to prevent a console error when the plugin JS files are loaded without the default localization data being defined. = 2.0.22 (2021-09-08) = - Updated the settings page library. - Made FAQ search input field type search, so it includes functionality such as the clear event. - Updated the conditional enqueuing of assets. - Update to the integration with the Ultimate WP Mail plugin for the submitted FAQ thank-you email. - Added ID to the category headings (when grouping FAQs by category), so you can anchor link directly to one. - Added a check on FAQ import for the post type, so you can't accidentally overwrite an existing post if you mistakenly specify a post ID that already exists for a post in another post type. = 2.0.21 (2021-08-12) = - Updated deprecated block_categories. = 2.0.20 (2021-07-21) = - Updating a condition to account for a possible notice create by a rare use of the_content filter. = 2.0.19 (2021-06-24) = - Fixed an issue in which FAQs that were imported would not display on the front end until manually updated. = 2.0.18 (2021-06-21) = - Fixed an issue with incorrect permalinks in search results. - Fixed an issue in which emails from Ultimate WP Mail were not available for selection. - Fixed an issue in which