[wp-trac] [WordPress Trac] #59018: Blocks in child themes with folder names starting with the same as the parent cannot load assets in WP6.3

WordPress Trac noreply at wordpress.org
Wed Aug 9 09:08:17 UTC 2023


#59018: Blocks in child themes with folder names starting with the same as the
parent cannot load assets in WP6.3
--------------------------+------------------------------
 Reporter:  lgladdy       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  6.3
 Severity:  major         |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by lgladdy):

 Small correction here, the issue using `str_starts_with` to determine if
 the block assets are on the child or parent theme to set
 $is_parent_theme_block and $is_child_theme_block

 This happens a few lines earlier in the functions.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59018#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list