[wp-trac] [WordPress Trac] #59452: Templates: Deprecate _inject_theme_attribute_in_template_part_block().

WordPress Trac noreply at wordpress.org
Tue Sep 26 12:14:54 UTC 2023


#59452: Templates: Deprecate _inject_theme_attribute_in_template_part_block().
-----------------------------+-----------------------------
 Reporter:  Bernhard Reiter  |      Owner:  Bernhard Reiter
     Type:  enhancement      |     Status:  assigned
 Priority:  normal           |  Milestone:  6.4
Component:  General          |    Version:
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 I'd like to deprecate `_inject_theme_attribute_in_template_part_block()`,
 as it can be replaced by using
 `_inject_theme_attribute_in_template_part_block()` in combination with
 `traverse_and_serialize_blocks()` on the parsed template blocks instead.

 The only code in Core that it's called from is synced from Gutenberg
 (dynamic blocks' PHP code).

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59452>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list