[wp-trac] [WordPress Trac] #59305: Make wp_block action notices reference patterns instead of blocks
WordPress Trac
noreply at wordpress.org
Thu Sep 7 00:58:59 UTC 2023
#59305: Make wp_block action notices reference patterns instead of blocks
-------------------------------+-----------------------------
Reporter: aaronrobertshaw | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: trunk
Severity: minor | Keywords:
Focuses: |
-------------------------------+-----------------------------
First reported in https://github.com/WordPress/gutenberg/issues/53370
Now that reusable blocks have been renamed to patterns, it doesn't make
sense to reference blocks in the `wp_block` action notices, e.g. "1 block
moved to the Trash".
Instead, these notices should read something like: "1 pattern moved to the
Trash."
Step-by-step reproduction instructions:
1. Add a new pattern via `wp-admin/post-new.php?post_type=wp_block`
2. Navigate back to the Patterns wp-admin page: `wp-
admin/edit.php?post_type=wp_block`
3. Perform actions such as deleting or restoring the new pattern
4. Note the notices refer to a "block"
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59305>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list