From 7fd5580b8d305aa38bd11b85c2f7151b02b10456 Mon Sep 17 00:00:00 2001 From: Marian <42134098+IanDelMar@users.noreply.github.com> Date: Mon, 7 Jul 2025 22:35:53 +0200 Subject: [PATCH] Remove STYLESHEETPATH and TEMPLATEPATH from bootstrap.php `STYLESHEETPATH` and `TEMPLATEPATH` have been deprecated in WP 6.4.0 and are handled via the `WpConstantFetchRule` rule. --- bootstrap.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bootstrap.php b/bootstrap.php index 9831110..6a3cda4 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -65,8 +65,4 @@ define('EP_ALL', EP_PERMALINK | EP_ATTACHMENT | EP_ROOT | EP_COMMENTS | EP_SEARCH | EP_PAGES | EP_ALL_ARCHIVES); // Templating-related WordPress constants. -// phpcs:ignore WordPress.WP.DiscouragedConstants.STYLESHEETPATHDeclarationFound -define('STYLESHEETPATH', '/app/wp-content/themes/child/'); -// phpcs:ignore WordPress.WP.DiscouragedConstants.TEMPLATEPATHDeclarationFound -define('TEMPLATEPATH', '/app/wp-content/themes/parent/'); define('WP_DEFAULT_THEME', 'twentytwentythree');