Notas da versão 1.4.1: 1 melhoria 10 correções
Melhoria
- PHP snippets set to "Manual (On Demand)" now show a small play badge on their icon in the editor sidebar and Snippet Manager.
Correção
- Generated MCP configurations now use a stable server name based on each site's URL, including subsites and different ports. Setup prompts preserve other sites' connections and check for existing names before adding a server.
- MCP setup prompts now include the selected client's configuration and explain how to set up Claude Desktop when the assistant cannot access local files. Added JSON merge instructions and local credential guidance instead of promising automatic setup.
- Editing a snippet from the Snippet Manager now opens the requested snippet instead of restoring the previous selection, including when local and cloud lists finish loading in either order.
- Restored the public PHP API's execution-by-ID behavior for integrations such as WP All Import. Api::runSnippet can again execute Function Editor snippets set to "Do not run", so import helper functions are available without changing existing snippets. The editor Run endpoint and MCP run tool continue to require "Manual (On Demand)" snippets.
- Local folder drag-and-drop order now saves when the drag ends, including drops onto titles or icons. Cloud folder IDs are excluded from local saves, the editor keeps its folder state synchronized, and failed saves show an error and reload the saved order.
- Fixed the Safe Mode link on the fatal-error screen.
- External-token execution now respects safe mode. Newly generated Functionality Plugins also use the improved recovery URL handling.
- Fatal errors in callbacks registered by snippets can now be attributed after the initial snippet execution has finished, so the responsible snippet is disabled on shutdown. Unrelated failures are not attributed to the last snippet that ran, and direct snippet errors retain their editor line numbers.
- MCP wpcodebox_list_snippets now includes every snippet in its flat snippets array, including snippets inside folders. The folder index remains available, and snippet folderId values are returned as integers.
- MCP calls now preserve actionable errors for missing snippets, permissions, invalid hooks and conditions, invalid folder names, and snippets that cannot be run on demand. Unexpected internal exception details remain hidden.