WordPress / WordPress/pattern-directory
How can i delete duplicate generated draft post?
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 134
- Forks
- 46
- Avg merge
- 9h 4m
- Merged PRs (30d)
- 19
Description
Describe the bug
I have been trying to create a pattern, and it was getting some error message when trying to create a pattern, but when I can see the post was created in draft. Now I am trying to delete, but I can't see the delete option for my post.
To Reproduce
Steps to reproduce the behavior:
- Go to 'https://wordpress.org/patterns/my-patterns/'
- I can't see any option to delete Declined/duplicate or draft pattern in the delete option
Expected behavior
- Should the author be able to delete the declined/duplicate or draft pattern
Screenshots
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start at the WordPress Patterns page linked in the reproduction steps and trace how delete actions are rendered for declined, duplicate, and draft patterns. Confirm the expected author permissions and update the behavior so eligible authors can delete those posts, then verify the listed scenarios from the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100