Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #59018, comment 2


Ignore:
Timestamp:
08/09/2023 09:11:04 AM (2 years ago)
Author:
lgladdy
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #59018, comment 2

    initial v1  
    1 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
     1Small 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.
    22
    33This happens a few lines earlier in the functions.
     4
     5I'd suggest the fix here is to add the trailing slash to `$template_path_norm` and `$stylesheet_path_norm` for these checks?