Skip to content

v1.0.5

Choose a tag to compare

@InsafInhaam InsafInhaam released this 28 Sep 15:50
· 4 commits to main since this release

WordPress-native editor detection and safe Gutenberg block editing.

  • New: wp_detect_editor reports canReadContent/canUpdateTitle/canUpdateSeoMetadata/canSafelyEditContent/requiresBuilderSpecificAdapter/reasonIfUnsupported per post, using WordPress's own has_blocks()/parse_blocks() for Gutenberg and each builder's own postmeta flag for Elementor/Divi.
  • New: wp_update_post_block_text edits exactly one paragraph/heading block by position, preserving every other block's structure, attributes, and nested blocks.
  • Content-edit restriction is enforced server-side inside update_content() itself, so a direct MCP call is refused on an Elementor/Divi page exactly like an AI-driven one, while title-only updates on the same page still succeed.
  • Also includes the prior P0 hotfix: deduped identical-retry revisions, fixed a wp_get_post_revision by-reference call, and corrected MCP JSON-RPC envelope responses.

Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com