Opened 2 days ago
Closed 31 hours ago
#65189 closed defect (bug) (invalid)
create pattern issue
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | General | Keywords: | |
| Focuses: | Cc: |
Description
When I try to create a pattern, it doesn’t get created successfully. Instead, it throws an error.
Change History (2)
#2
@
31 hours ago
- Focuses coding-standards removed
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from new to closed
Hi @sonaliprajapati, the reason for that error is that the word "wordpress" is included in the title. Please look at this code.
In any case, this is not an issue with the WordPress core.
Note: See
TracTickets for help on using
tickets.
I tested this issue further directly on the WordPress.org Pattern Creator and was able to consistently reproduce it.
Testing Performed
Observed Behavior
"There is an issue with your pattern.
Updating failed. Sorry, you are not allowed to edit the jetpack_post_was_ever_published custom field."
Console / Network Findings
On further inspection in the browser console and network tab, several REST/API-related issues appeared during the submission process.
Most relevant finding:
Additionally:
wp-json/wp/v2/media?... 403 (Forbidden) wp-json/wp/v2/wporg-pattern/{id}?_locale=user 403 (Forbidden)There are also multiple async/runtime listener errors and failed resource requests occurring after submission.
Notes
Based on the testing, this may be related to:
The
users/merequest returning404and related403API responses may help identify the root cause.