*** KaliCart MCP Changelog ***

2026-06-19 - version 0.2.10

* Compliance: admin page styles and scripts are now enqueued via wp_enqueue_style / wp_enqueue_script on admin_enqueue_scripts (scoped to the plugin's own screen) instead of being printed inline. Dynamic values reach the script through wp_localize_script.
* Compliance: unified every plugin-owned identifier (options, post meta, query var, nonces, classes, constants) under a single kcmcp_ prefix. No new behavior; no database migration.
* Robustness: the admin category list and the site_info term counts now restrict to the primary language through the same multilingual helper used by the content tools, so WPML sites (not only Polylang) show one language. No-op on monolingual sites.


2026-06-17 - version 0.2.9

* Multilingual support: on sites running a multilingual plugin (Polylang or WPML), KaliCart MCP now serves content in the site's primary language only. This removes duplicate posts, pages and categories from listings, search and the site map, so agents receive one clean, coherent set of content instead of the same item repeated once per language. The served language is declared in the JSON (language / served_language) so agents never have to guess; agents translate on demand for the end user.
* Admin: the category exclusion list now shows only primary-language categories (no more ambiguous per-language duplicates), with an explanatory notice on multilingual sites. Monolingual sites are unaffected.
* Content: list and search results now include each item's taxonomy terms (categories, tags), so the JSON is self-contained — an agent sees an article's category without a follow-up request.


2026-06-17 - version 0.2.8

* Hardening: reviewed all REST routes for WordPress.org compliance. Read-only public MCP endpoints declare an explicit public permission_callback (__return_true); admin endpoints require manage_options plus a per-item capability check and a wp_rest nonce. No behavioral change.
* Maintenance: removed the manual load_plugin_textdomain() call (translations are loaded automatically for plugins hosted on WordPress.org since WP 4.6).


2026-06-15 - version 0.2.7

* Fix: site_map no longer surfaces WooCommerce navigation (shop, product categories/tags); menu filtering matches linked objects, not URL slugs, so it is language-independent.
* Fix: list_content returns an explicit error for a non-exposed post_type instead of silently falling back to posts.
* Add: when WooCommerce is detected, the initialize instructions state the content-only policy and point agents to KaliCart Bridge for catalog data.


2026-06-15 - version 0.2.6

* Admin: finalized the KaliCart MCP brand logo in the page header.
* Maintenance: corrected the readme Contributors entry.


2026-06-15 - version 0.2.5

* Admin: new KaliCart MCP brand logo in the page header.


2026-06-15 - version 0.2.4

* Fix: restore toggle switch styling (a clipping rule was hiding the switch track); switch styles are now unified across both toggle sections.


2026-06-15 - version 0.2.3

* Fix: the "Content exposure" toggles now react only to the switch, not to clicks on the type label — same scheme as the exclusion list.


2026-06-15 - version 0.2.2

* Fix: clicking a row's title no longer toggles it — the hidden checkbox is now confined to the switch control instead of overflowing the whole row.


2026-06-15 - version 0.2.1

* Fix: sidebar menu icon now uses the same inline-SVG scheme as KaliCart Bridge (correct alignment, no CSS mask).
* Fix: exclusion row toggles switch only via the switch control, not by clicking the row.


2026-06-15 - version 0.2.0

* Admin: content exclusion controls — hide categories, individual posts and pages from AI agents via instant toggles, plus a per-item "Hide from AI agents" switch in the editor sidebar.
* Admin: unified post/page search with AJAX toggles and a live-updating "currently hidden" list.
* WooCommerce functional pages (cart, checkout, account, shop) are now excluded from agent-readable content automatically.
* Internationalization: Italian, German, French and Spanish translations; translation loader added.
* Fix: row toggles now switch only when the switch itself is clicked, not the whole row.
* Fix: sidebar menu icon alignment.


