[wp-trac] [WordPress Trac] #18298: deprecate TEMPLATEPATH and STYLESHEETPATH
WordPress Trac
noreply at wordpress.org
Fri Sep 29 00:08:51 UTC 2023
#18298: deprecate TEMPLATEPATH and STYLESHEETPATH
-------------------------------------------------+-------------------------
Reporter: aaroncampbell | Owner: flixos90
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.4
Component: Themes | Version: 3.0
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests needs-dev- | Focuses: template,
note commit | performance
-------------------------------------------------+-------------------------
Comment (by danielbachhuber):
I think this broke WP-CLI's `--skip-themes` global argument.
Here's a failing test: https://github.com/wp-cli/wp-
cli/actions/runs/6333462262/job/17201622545#step:13:241
I can't reproduce it in my `wordpress-develop` checkout for some reason,
but this comment leads me to believe we were leaning on `TEMPLATEPATH` and
`STYLESHEETPATH`: https://github.com/wp-cli/wp-
cli/blob/8114cb4ef3a901c19f23a65cca7dca59c7335f1c/php/WP_CLI/Runner.php#L1808
Here's the original implementation: https://github.com/wp-cli/wp-
cli/pull/2944
--
Ticket URL: <https://core.trac.wordpress.org/ticket/18298#comment:74>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list