[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
Tue Aug 29 18:13:47 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:  6.3.2
Component:  Editor                                  |     Version:  6.3
 Severity:  major                                   |  Resolution:
 Keywords:  has-unit-tests needs-testing has-patch  |     Focuses:
----------------------------------------------------+---------------------

Comment (by masteradhoc):

 @audrasjb tested as discussed on slack the solution of @azaozz

 Here are some steps to replicate:
 1) Preparation see https://core.trac.wordpress.org/ticket/59018#comment:18
 2) applied azaozz change locally
 3) the path seems to be called directly now. no errors appear anymore

 {{{
 After: /generatepress_child/inc-child/blocks/slider-bottom/slider.js
 Before: /generatepress/_child/inc-child/blocks/slider-bottom/slider.js
 }}}

 LGTM.

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


More information about the wp-trac mailing list