[wp-trac] [WordPress Trac] #59849: Template and stylesheet filters stopped working correctly.
WordPress Trac
noreply at wordpress.org
Wed Nov 8 20:12:11 UTC 2023
#59849: Template and stylesheet filters stopped working correctly.
--------------------------+-----------------------------
Reporter: kemalcizoglu | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 6.4
Severity: minor | Keywords: needs-patch
Focuses: template |
--------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59849>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list