Make WordPress Core

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


Ignore:
Timestamp:
08/09/2023 09:11:43 AM (8 months ago)
Author:
lgladdy
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #59018, comment 2

    v1 v2  
    33This happens a few lines earlier in the functions.
    44
    5 I'd suggest the fix here is to add the trailing slash to `$template_path_norm` and `$stylesheet_path_norm` for these checks?
     5I'd suggest the fix here is to add the trailing slash to `$template_path_norm` and `$stylesheet_path_norm` for these checks? That way, it will accurately check the provided paths are in the exact folder, rather than just a folder starting with the same name?