Use copy number insteead of appending (Copy) to each duplicate
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start by reproducing repeated copies of a WordPress post in the duplicate-post plugin and trace the entry point that generates the copied title. Done means copied titles use distinct numbered suffixes such as (Copy 1) and (Copy 2), without accumulating repeated (Copy) strings.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
When copying a post multiple times, the string (Copy) is appended to the post title. I'd like to propose two improvements:
- When copying a copy, the string (Copy) is appended again, leading to a series of (Copy)(Copy)(Copy) in the post title. Screenshot:
- When copying again the original post, the string (Copy) is appended just once even if there's already a post with title {post title} (Copy). This makes difficult to immediately distinguish which post is which in the posts list. Screenshot:
Describe the solution you'd like
Maybe consider to use a string with the copy number e.g.: (Copy 1) and then (Copy 2) etc. instead of multiple (Copy) (Copy)
Why do you think this feature is something we should consider for the Yoast SEO plugins?
For better usability
Additional context
- Dominant language
- PHP
- Stars
- 53
- Forks
- 38
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Yoast/duplicate-post
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Yoast/duplicate-post#537 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Yoast/duplicate-post#395 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
Yoast/duplicate-post#544 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 68/100
Yoast/duplicate-post#542 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Yoast/duplicate-post#461 ·
All issues in Yoast/duplicate-post
Similar issues
-
priority: p3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/librarian#7636 ·
-
0. Needs triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nextcloud/fulltextsearch#1011 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
phpstan/phpstan-doctrine#794 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Automattic/static-site-importer#1767 ·