[wp-trac] [WordPress Trac] #51534: Add post type Blocks (reusable blocks) into menu
WordPress Trac
noreply at wordpress.org
Wed Mar 31 11:05:31 UTC 2021
#51534: Add post type Blocks (reusable blocks) into menu
-------------------------+---------------------
Reporter: oglekler | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.8
Component: Menus | Version: 5.5
Severity: normal | Resolution:
Keywords: has-patch | Focuses: ui
-------------------------+---------------------
Comment (by Mamaduka):
Replying to [comment:7 oglekler]:
> Do we need the word 'All'? It definitely will attract users' attention
but looks a bit long.
I agree, "Reusable Blocks" makes more sense for this submenu label. This
label wording is also related to my question:
> Not 100% related. But I think it makes sense to use
`$ptype_obj->labels->menu_name` instead of `all_items` in
`_add_post_type_submenus` method.
#17378 introduced this change, and as far as I can tell, changing it only
in `_add_post_type_submenus` shouldn't affect regular CPT labels.
Thanks, @mikeschroder, for tracking the original issue down.
I'm happy to create a separate ticket or fix this as a part of this one.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51534#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list