Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#59849 closed defect (bug) (duplicate)

Template and stylesheet filters stopped working correctly.

Reported by: kemalcizoglu Owned by:
Priority: normal Milestone:
Component: Themes Version: 6.4
Severity: minor Keywords: needs-patch
Cc: Focuses: template

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
3 years ago

  • Resolution → duplicate
  • Status new → closed

Duplicate of #59847.

#2 @swissspidy
3 years ago

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