#59849 closed defect (bug) (duplicate)
Template and stylesheet filters stopped working correctly.
Reported by: | kemalcizoglu | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 6.4 |
Component: | Themes | Keywords: | needs-patch |
Focuses: | template | Cc: |
Description
Stylesheet and template filters stopped working properly with WordPress version 6.4. When I examined it, a condition was added to run if the global variables $wp_stylesheet_path, $wp_template_path are null. However, these conditions did not exist before and if these two variables are not made null, the filters do not work correctly.
I think this problem will occur mostly on sites that use mobile themes. Because we use these two filters to present a mobile theme according to the user agent.
I just wanted you to be informed. Thanks.
Change History (2)
Note: See
TracTickets for help on using
tickets.
Duplicate of #59847.