Make WordPress Core

Opened 14 months ago

Closed 14 months ago

Last modified 12 months ago

#59849 closed defect (bug) (duplicate)

Template and stylesheet filters stopped working correctly.

Reported by: kemalcizoglu's profile 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)

#1 @rebasaurus
14 months ago

  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #59847.

#2 @swissspidy
12 months ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.