/* CHANGELOG */

VERSION 1.0.8 - 14/08/26
* FIX - Filter and Archive Loop blocks keep their layout and custom controls, but only use Divi-style buttons, dropdowns, and fields when Divi (or a Divi child theme) is active. Other themes keep their own form styling unless you change the block Design settings.
* FIX - Archive Loop Read More and Add to Cart icons stay a normal size on non-Divi themes, and Read More no longer shows an icon when Show Button Icon is turned off.
* FIX - Button border radius can be set above 10px.
* FIX - Archive Loop card border, padding, and shadow settings apply again on the blog layout.
* FIX - License Management is hidden unless Ajax Filter Blocks Pro is installed.

VERSION 1.0.7 - 14/08/26
* MOD - Corrected Free vs Pro wording so the free plugin only claims what it includes (custom meta, sidebar / top-bar, grid / masonry with standard pagination). Pro extras such as the ACF Fields picker, map / radius search, mobile filter toggle, Toggle / Slide appearances, Product Rating, Load More / infinite scroll, and list layouts are documented to match the Pro product page.

VERSION 1.0.6 - 13/08/26
* MOD - WordPress.org readme now links to Ajax Filter Blocks Pro for upgrades.
* MOD - Upgrade to PRO button in the block editor now opens the correct Pro product page.
* MOD - Admin submenu label now says Ajax Filter Blocks to match the plugin name.
* MOD - Help tooltips on the "?" icons in the block settings now open straight away instead of after a delay.
* MOD - Removed the Divi-only Custom Layout option from Archive Loop’s Loop Style setting.
* MOD - Minimal List now starts as a single-column layout, while Background Image starts without body content and exposes its content and excerpt controls.

VERSION 1.0.5
* MOD - WordPress.org package now uses a unique internal code prefix (wpenajfi) while keeping the public plugin name and slug.
* FIX - Layout and SVG markup is always sanitized before output (no raw SVG bypass).
* FIX - Loop shortcode REST responses sanitize the shortcode name and escape returned HTML.

VERSION 1.0.4
* FIX - Hardened public filter REST origin checks and sanitize taxonomy filter URL terms.
* FIX - Block render callbacks now return buffered markup instead of echoing it.
* MOD - Catalog Index and Auto suggest are provided by the separate Pro add-on and are not included in this free package (settings show a Pro notice only; no locked Pro implementation ships in the free zip).
* FIX - Free package settings hub loads again (pages script filename + REST namespace after packaging).
* MOD - Removed license activation and updater leftovers from the WordPress.org free package.
* MOD - Documented admin InstantSearch docs search under External services; clarified Pro indexing is a separate add-on.
* MOD - Updated Select2 to 4.1.0 stable and labeled Swiper 12.1.2 in the shipped asset.
* MOD - WordPress.org package build keeps version numbers in sync across the plugin file and readme, and uses the full plugin prefix for internal code names in the downloadable zip.
* MOD - Standalone blocks package now flags itself with `DIVI_AJAX_FILTER_STANDALONE_BLOCKS` instead of a short `BAF_` version constant; block script versions use `DIVI_AJAX_FILTER_VERSION`. If you have custom PHP that referenced the old `BAF_Archive_Loop_Block_Handler` class name, update it to `Divi_Ajax_Filter_Archive_Loop_Block_Handler`.
* MOD - WP Enhanced settings dashboard no longer installs or activates other plugins via REST; it links to the Add Plugins and Plugins screens instead, per WordPress.org guidelines.
* MOD - Updated plugin naming to WPEnhanced Ajax Filter Blocks and aligned the WordPress.org slug to wpenhanced-ajax-filter-blocks.
* MOD - Linked the public source repository and build steps in the readme for WordPress.org guideline 4.
* MOD - Clarified webpack output paths for developers using the public source repository.
* MOD - Documented as tested up to WordPress 7.0; requires WordPress 6.1 or newer.
* FIX - Archive and Filter blocks now strip markup from generated inline CSS and escape loop and map tooltip HTML on output for safer front-end rendering.
* FIX - Checkbox and radio filters with "Display inline" enabled now show options in a horizontal row in sidebar filters, not only in full-width filter bars.
* FIX - Inline radio and checkbox filter options in full-width filter bars now keep each label on one line on desktop, wrap cleanly on mobile without overflowing the filter bar, and no longer overlap when there are many options.
* MOD - Archive Loop: you can style the No Posts Found message from the Design tab (font, background, border, color, alignment, and text shadow).
* FIX - Improved WordPress.org compliance by hardening shared filter/load-more REST responses, permissions, and runtime script/style handling.
* NEW - Search filter has a Browser Autocomplete setting (on by default) so you can turn off unwanted previous-search suggestions from the browser.

VERSION 1.0.0
* NEW - Initial release.
* NEW - Archive Loop block: display posts, custom post types, or products in a grid, list, or masonry layout with pagination and load more.
* NEW - Filter Posts block: add filters by taxonomy, custom fields (ACF), meta, and WooCommerce attributes; supports checkboxes, dropdowns, and multi-select.
* NEW - Filter Posts Item block: place inside Archive Loop to show each post or product with full layout control.
* NEW - AJAX filtering without page reload; URL parameters for shareable filtered links.
* NEW - Compatible with WooCommerce products, custom post types, and Advanced Custom Fields.
