== Changelog ==

= 1.3.0 =
* New: Import from Widget Logic — assisted wizard that translates Widget Logic PHP rules into structured visibility rules, with per-widget decisions for code we cannot translate automatically (always visible / always hidden / skip). Works with data from both Widget Logic 5.x and 6.x.
* New: "Always" rule type for widgets that should always be shown or always be hidden (used by the Widget Logic import path).
* New: Settings page redesigned with two tabs (Overview and Import / Export), an Overview "Visibility rules" summary card with total count plus a breakdown by source (Widget Logic / Jetpack / manual) and the last import date per source, and the AyudaWP promo banner at the bottom of each tab.
* New: Wizard recognises previously imported widgets and adapts the copy ("X of Y already imported · Z pending" or "You already imported all of these") instead of looking like a fresh task.
* New: "Remove Widget Logic data" cleanup action in Import / Export.
* Improved: Jetpack import card disables its actions when no legacy data remains in widget instances and explains the state clearly.
* Improved: Editing a rule from the widget UI preserves its imported origin (Widget Logic / Jetpack) so the Overview breakdown stays accurate.
* Fixed: False positive in the Jetpack data counter caused by writing a redundant copy of conditions inside widget instances. The plugin now keeps a single source of truth in its own option.

= 1.2.0 =
* New: Cascading taxonomy selector - pick a taxonomy first, then its terms (much faster on WooCommerce sites with many taxonomies and attributes)
* New: "Include children" checkbox for hierarchical taxonomy terms - match child terms automatically
* New: "Include children" checkbox now also available in the block editor for pages (parity with classic widgets)
* New: Filter `ayudawp_wvc_max_taxonomy_terms` to control the maximum number of terms loaded per taxonomy (default 250)
* Improved: Taxonomy data is now indexed by slug for faster client-side lookups
* Improved: Visibility panel moved from Advanced section to its own panel in the block editor sidebar (much easier to find)
* Improved: Block editor labels now loaded from PHP via wp_localize_script for better translation support

= 1.1.2 =
Tested up to WordPress 7.0

= 1.1.1 =
* Fixed: Classic/legacy widgets visibility rules not working (missing filter arguments)
* Fixed: Block widgets showing empty container when hidden (now completely hidden)
* Fixed: Improved handling of block widgets in widget_display_callback filter
* Fixed: Schedule not working when combined with visibility rules
* Fixed: Timezone handling in schedule evaluation
* Improved: Better block visibility filtering using pre_render_block
* Improved: Better condition checking for schedule and rules

= 1.1.0 =
* New: Time scheduling feature - schedule widgets to show/hide during specific date and time ranges
* New: "No end date" option for indefinite scheduling (ideal for permanent changes starting from a specific date)
* New: Schedule conditions work alongside existing visibility rules (AND logic)
* New: Time Schedule section in widget visibility panel for both classic and block editor
* Uses WordPress timezone settings for accurate scheduling

= 1.0.1 =
* Fixed: Customizer visibility button not appearing when block editor was active
* Fixed: Suppressed harmless wp-editor dependency notice on widgets screen
* Improved: Customizer now works independently of block editor settings
* Improved: Better separation between classic and block editor interfaces

= 1.0.0 =
* Initial release
* Full support for classic widgets and block-based widgets
* Independent data storage system
* Automatic Jetpack Widget Visibility migration
* Settings page for data management
* Condition types: category, tag, author, page, post type, date, taxonomy, user role, login status
* AND/OR logic for multiple conditions
* RTL language support
* Complete internationalization
