v3.1.3
A bug-fix patch. Thanks to @gthibo for two detailed reports.
Fixed
- "Update available" notice persisted after updating. The free GitHub updater compared the latest release against the compiled
EMCP_TOOLS_VERSIONconstant, which is stale in the same request right after a self-update (the old file is still loaded, and can be OPcache-cached) — so it kept offering the version you just installed. It now compares against the version WordPress freshly parsed from the plugin header, and clears its update-transient entry immediately after updating. - MCP tool-name collision (#71). The EMCP Themer tools and the Elementor Pro Theme Builder tools both claimed
create-theme-template/set-template-conditions; with both active, one was silently dropped ("already registered"). The Elementor Pro tools are renamed tocreate-elementor-theme-template/set-elementor-template-conditions; the Themer keeps the originals. Both now coexist. - Debug-log noise (#71). The admin tool-catalog drift check logged "Ability … not found" for environment-gated tools (
resize-media, the Themer PHP tools). It now uses a silent registry check and skips legitimately conditional tools. - Proxy corrupted non-ASCII on large responses (#70).
@msrbuilds/emcp-proxydecoded each network chunk independently, mangling any multi-byte character split across a chunk boundary. Now buffers and decodes once. Update withnpx @msrbuilds/emcp-proxy@latest(≥ 1.8.4).
Note: if you're updating from 3.1.2, that older build still has the lingering-notice bug, so the "update available" prompt may stick around during this one update — it's resolved once you're on 3.1.3.
Free updates are distributed here on GitHub. Download emcp-tools-3.1.3.zip below.