[wp-trac] [WordPress Trac] #60121: catastrophic content overwrite from "Add New Pattern"
WordPress Trac
noreply at wordpress.org
Wed Dec 20 11:20:48 UTC 2023
#60121: catastrophic content overwrite from "Add New Pattern"
--------------------------------------+-----------------------------
Reporter: vialars | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 6.4.2
Severity: blocker | Keywords:
Focuses: administration, template |
--------------------------------------+-----------------------------
"Add New Pattern" /wp-admin/post-new.php?post_type=wp_block&lang=en
from /wp-admin/edit.php?post_type=wp_block
and Publishing it
overwrites / replaces the last there added pattern,
giving it the same post id like the one overwritten / replaced.
When then creating a pattern from a post editor Gutenberg block, that
pattern is added next to the pattern(s) at /wp-
admin/edit.php?post_type=wp_block giving it an id jumping all those ids
equalling attempts at adding a pattern from there.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60121>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list