Opened 5 years ago
#51895 new enhancement
theme_root filter for WP_Theme::get_files
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Themes | Keywords: | |
| Focuses: | Cc: |
Description
WP_Theme::get_files() is using a class method that doesn't pass the value through the theme_root filter from wp-includes/theme.php
As a result WP_Theme::get_post_templates() is targeting the default theme_root regardless of the filtered value.
Note: See
TracTickets for help on using
tickets.