Opened 3 years ago
Last modified 3 years ago
#58186 new defect (bug)
Block Theme Detection is broken due to symlinks
| Reported by: | yolawo | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Themes | Version: | 6.2 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
3 years ago
#1
- Keywords has-patch added; needs-patch removed
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Fixes:
Fixes theme block detection by adding a missing realpath.
Trac ticket: https://core.trac.wordpress.org/ticket/58186