[wp-trac] [WordPress Trac] #57614: Editor: Remove need for template prefix in get_template_hierarchy . (was: Block Editor: Remove need for template prefix in get_template_hierarchy .)

WordPress Trac noreply at wordpress.org
Thu Feb 2 19:29:58 UTC 2023


#57614: 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            |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+---------------------
Description changed by jorgefilipecosta:

Old description:

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

New description:

 This ticket was created 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#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list