Yoast / Yoast/wordpress-seo

Deprecated wp.editPost method

Open
#21,990 4 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

IM type: deprecation
Dominant language
JavaScript
Stars
2k
Forks
975
Avg merge
3d 13h
Merged PRs (30d)
36

Description

/wp-content/plugins/wordpress-seo/js/dist/block-editor.js

  • wp.editPost.PluginSidebarMoreMenuItem is deprecated since version 6.6. Please use wp.editor.PluginSidebarMoreMenuItem instead.
  • deprecated.min.js?ver=e1f84915c5e8ae38964c:2 wp.editPost.PluginSidebar is deprecated since version 6.6. Please use wp.editor.PluginSidebar instead.
  • deprecated.min.js?ver=e1f84915c5e8ae38964c:2 wp.editPost.PluginPrePublishPanel is deprecated since version 6.6. Please use wp.editor.PluginPrePublishPanel instead.
  • deprecated.min.js?ver=e1f84915c5e8ae38964c:2 wp.editPost.PluginPostPublishPanel is deprecated since version 6.6. Please use wp.editor.PluginPostPublishPanel instead.
  • deprecated.min.js?ver=e1f84915c5e8ae38964c:2 wp.editPost.PluginDocumentSettingPanel is deprecated since version 6.6. Please use wp.editor.PluginDocumentSettingPanel instead.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with /wp-content/plugins/wordpress-seo/js/dist/block-editor.js and trace the source that produces this bundle. Replace the listed deprecated wp.editPost references with their wp.editor counterparts, then verify the deprecation warnings no longer appear in the block editor.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.