[wp-trac] [WordPress Trac] #59325: Block Themes: Test that `_build_block_template_result_from_file` injects `theme` attribute

WordPress Trac noreply at wordpress.org
Mon Sep 11 15:38:14 UTC 2023


#59325: Block Themes: Test that `_build_block_template_result_from_file` injects
`theme` attribute
-----------------------------+-----------------------------
 Reporter:  Bernhard Reiter  |      Owner:  Bernhard Reiter
     Type:  enhancement      |     Status:  assigned
 Priority:  normal           |  Milestone:  6.4
Component:  General          |    Version:
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 While we have coverage for
 `_inject_theme_attribute_in_block_template_content`, those tests only
 verify that that function does what is supposed to do; there's however no
 guarantee that `_build_block_template_result_from_file` uses that function
 (or whatever other technique) to actually inject the theme attribute.

 This will be needed for #59313.

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


More information about the wp-trac mailing list