Make WordPress Core

Opened 3 years ago

Closed 13 months ago

#60121 closed defect (bug) (reported-upstream)

catastrophic content overwrite from "Add New Pattern"

Reported by: vialars Owned by:
Priority: normal Milestone:
Component: Editor Version:
Severity: blocker Keywords: close
Cc: Focuses: administration, template

Description

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

Change History (3)

#1 follow-up: @SirLouen
14 months ago

  • Component Posts, Post Types → Editor
  • Keywords close added
  • Version 6.4.2

I have not seen any related topic in the ​Gutenberg repository, so I would say that you should be opening such as this seems to be related to it.

Please copy the link of the new ticket there, once you have opened.

#2 in reply to: ↑ 1 @vialars
13 months ago

Replying to SirLouen:
...

Please copy the link of the new ticket there, once you have opened.

​https://github.com/WordPress/gutenberg/issues/71540

#3 @sabernhardt
13 months ago

  • Milestone Awaiting Review
  • Resolution → reported-upstream
  • Status new → closed

Thanks for moving the report!

Note: See TracTickets for help on using tickets.