[wp-trac] [WordPress Trac] #57614: Block Editor: Remove need for template prefix in get_template_hierarchy .
WordPress Trac
noreply at wordpress.org
Thu Feb 2 19:28:02 UTC 2023
#57614: Block Editor: Remove need for template prefix in get_template_hierarchy .
------------------------------+-----------------------
Reporter: jorgefilipecosta | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 6.2
Component: General | Version: trunk
Severity: normal | Keywords: has-patch
Focuses: |
------------------------------+-----------------------
This ticket is to track the merge of
https://github.com/WordPress/gutenberg/pull/46257 into the core.
The function get_template_hierarchy becomes easier to use as it does not
require the caller to pass a template prefix. This is useful because, in
some block editor usages, the template prefix is not known.
PR at https://github.com/WordPress/wordpress-develop/pull/3944.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57614>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list