[wp-trac] [WordPress Trac] #59417: `load-styles.php` no longer outputs styles after deprecating TEMPLATEPATH
WordPress Trac
noreply at wordpress.org
Thu Sep 21 01:25:54 UTC 2023
#59417: `load-styles.php` no longer outputs styles after deprecating TEMPLATEPATH
-----------------------------+------------------------------------
Reporter: iandunn | Owner: flixos90
Type: defect (bug) | Status: closed
Priority: highest omg bbq | Milestone: 6.4
Component: Themes | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: template, performance
-----------------------------+------------------------------------
Changes (by flixos90):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"56641" 56641]:
{{{
#!CommitTicketReference repository="" revision="56641"
Themes: Fix fatal error in `load-styles.php`.
Following [56635], a fatal error occurred in `load-styles.php` leading to
admin styles not working, because of a `has_filter()` call being added to
`get_stylesheet_director()` and `get_template_directory()`.
This changeset adds `has_filter()` to `wp-admin/includes/noop.php` to
prevent such errors. The lack of loading the function does not cause any
unintended side effects itself.
Props iandunn, adamsilverstein.
Fixes #59417.
See #18298.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59417#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list