WordPress / WordPress/pattern-directory

How can i delete duplicate generated draft post?

Open
#744 0 comments 0 reactions 0 assignees View on GitHub

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:

  1. Go to 'https://wordpress.org/patterns/my-patterns/'
  2. I can't see any option to delete Declined/duplicate or draft pattern in the delete option

Expected behavior

  1. Should the author be able to delete the declined/duplicate or draft pattern

Screenshots

Image

Contributor guide

No contributing guide indexed for this repository

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.