Advanced Shipment Tracking Pro
PluginRegistro de cambios 2
Todos los lanzamientos, del más reciente al más antiguo, tal como el proveedor los publicó en el registro de cambios del plugin.
2.14.0
Seguridad Aún no disponibleConnections sign in through WordPress's own REST authentication
The connection token used to be read inside the route's permission_callback, which then
called wp_set_current_user(). That is after WordPress's REST authentication stage, so the
request was anonymous to everything that stage consults. A security plugin that closes the REST
API to logged-out visitors (the usual rest_authentication_errors check for
is_user_logged_in()) refused the AI client before the token was ever read.
- The token, from the URL path or an
Authorization: Bearerheader, is now resolved ondetermine_current_user(priority 20, as application passwords), so a token caller is a signed-in user from the start of the request. - A revoked, orphaned or unknown token is refused on
rest_authentication_errors(priority 90), still with theWWW-Authenticatechallenge and the same messages. - A user an earlier method already identified (cookie, application password) is left alone, as core does.
- When something else refuses a request to the connection endpoint -- a security plugin's own
REST lockdown, say -- the refusal stands but now carries the
WWW-Authenticatechallenge, so an AI client can still find the sign-in service instead of reporting a dead connection. permission_check()now only asks whether someone is signed in. It keeps the old in-callback sign-in as a fallback for a site where something settled the current user before this library booted, so a valid token is never refused because of load order.- Requests are recognised by address (
/zorem-mcp/v1/mcpunder the REST prefix, or?rest_route=), because the current user is settled long before the REST request exists.
Nothing for integrating plugins to change: tool callbacks still run as the connection's user.
2.12.1
Seguridad Eliminado Aún no disponibleBreaking — read this before updating
2.0.0 renamed every CSS class and data attribute from ast-ai-* to zorem-mcp-*
(221 occurrences across ui-helpers.php, assets/zorem-mcp.js and assets/zorem-mcp.css).
The old names came from the plugin this library was extracted out of and had no business in a
shared package.
If your plugin has its own CSS or JS that targets .ast-ai-* or [data-ast-ai-*], it stops
matching. Grep your plugin for ast-ai before you ship. Nothing inside the library refers to
the old names any more.
The connection screen
- Copy buttons did nothing at all. The URL field renders as
zorem-mcp-endpointwhile every per-client Copy button still asked for#ast-ai-endpoint, soquerySelectorfound nothing and the handler returned in silence. The id now comes from one place,zorem_mcp_endpoint_field_id(), which the field, the buttons and the caller all use. - Copy reported success it had not had.
navigator.clipboard.writeText()returns a promise and the old code ignored it, so a refusal — insecure origin, permissions policy, a document without focus — looked exactly like a copy. It now waits for the answer, falls back toexecCommand, and saysCopy failed — press Ctrl+Cwhen neither route works. - No page reloads anywhere on this screen. Forgetting a key, deleting a key and signing everyone out repainted by reloading; each now returns the markup it changed and swaps it in.
- Every control that changes something asks first.
Use this keywas the last one without a confirm, and its wording differs depending on whether it is storing a first key or replacing one. - Section is read from
sectionas well as the configured parameter. A host settings script that writes?section=<id>as the merchant navigates left this screen opening on its first section after every refresh, however far in they had gone.
The WooCommerce MCP key
- The key is kept, sealed with the site's salts. It used to be discarded once the setup rows
were drawn, so a refresh — or coming back tomorrow — meant fetching it from WooCommerce and
pasting it again. Sealed with
wp_salt(), which lives inwp-config.phpand not the database, so a dump ofwp_optionsyields ciphertext. Sites without OpenSSL keep the old behaviour rather than storing it in the clear. Forget keyremoves this site's copy; the key keeps working in WooCommerce.Delete this keydeletes the WooCommerce key itself, which is the only thing that actually ends access — closing a session does not, because the app still holds the key.- What this key can do. WooCommerce builds its own MCP tools only while an MCP request is
being served, so they cannot be read from an admin screen. The list is fetched the way an
assistant fetches it:
initialize, thentools/listwith the returnedMcp-Session-Id. Cached 12 hours; a failure is cached 10 minutes. - Who is connected. Read from the adapter's sessions, grouped by app rather than by session
— a client opens a fresh one on every reconnect — with the raw
clientInfoname mapped to something a merchant recognises (claude-ai (via mcp-remote 0.8.3)→Claude). This screen's own probe is excluded. - About this key. Which account it acts as, what it may do, and when it was last used —
taken from the sessions, because WooCommerce's
last_accessis written by its REST authentication and the MCP transport does not go through it.
Notes for integrating plugins
Zorem_MCP_Woo_Key::app_name()is public. Use it wherever you name an AI client, so one app is called one thing across the whole screen.- The audit log's App column comes from whatever the caller passes to
Zorem_MCP_Audit::record(). If yours passes the user agent, WooCommerce MCP callers arrive asundici— the HTTP library insidemcp-remote. Resolve the app from the session instead: readMcp-Session-Id, askSessionManager::get_session(), and pass theclientInfoname throughapp_name().
Known
The screen opens an MCP session each time it reads the tool list and does not close it. The adapter keeps 32 sessions per user and evicts the oldest, so on a busy store this could in principle displace a live one. At one session per 12 hours it is slow enough not to have caused a problem yet.