Yoast / Yoast/duplicate-post

When a post has an existing "Rewrite & Republish" draft, add "Edit Rewritten Post" to admin bar

Open
#424 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
53
Forks
38
Avg merge
4d 8h
Merged PRs (30d)
1

Description

Is your feature request related to a problem? Please describe.

Users are editing the existing post, instead of editing the existing "Rewrite and Republish" draft, because they don't know that the "Rewrite and Republish" draft exists.

Describe the solution you'd like

Image

If a post has a corresponding "Rewrite and Republish" draft post:

  1. Next to the "Edit Post" button in the WordPress admin bar, add a button of a different label that links to the "Rewrite and Republish" draft.
  2. Provide a site-wide option to hide the "Edit Post" button for some subset of users (without edit_others_posts perhaps?), and for them, force edit_post_link to go to the draft.

Why do you think this feature is something we should consider for the Yoast SEO plugins?

This would encourage use of the "Rewrite and Republish" workflow.

Additional context

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 by tracing the WordPress admin bar's "Edit Post" button and the edit_post_link() integration in the plugin. Check how Rewrite and Republish drafts are associated with posts and how user capabilities are determined. Done means an existing draft is visibly reachable from the admin bar and the requested site-wide visibility and link behavior are covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.