Opened 20 months ago
Last modified 15 months ago
#58186 new defect (bug)
Block Theme Detection is broken due to symlinks
Reported by: | yolawo | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 6.2 |
Component: | Themes | Keywords: | has-patch |
Focuses: | Cc: |
Description
In file wp-includes/blocks.php line 137 the $theme_path_norm calculation is missing a realpath call.
I'm using a bitnami index with some symlinks and the theme block detection is broken.
In my example the vars have the following values:
$theme_path_norm = "/opt/bitnami/..."
$script_path_norm = "/bitnami/..."
Thanks in advance.
Attachments (1)
Change History (3)
This ticket was mentioned in PR #4373 on WordPress/wordpress-develop by fstrelczuk.
20 months ago
#1
- Keywords has-patch added; needs-patch removed
Note: See
TracTickets for help on using
tickets.
Fixes:
Fixes theme block detection by adding a missing realpath.
Trac ticket: https://core.trac.wordpress.org/ticket/58186