Changes between Initial Version and Version 1 of Ticket #60025, comment 5
- Timestamp:
- 12/11/2023 11:33:27 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #60025, comment 5
initial v1 28 28 }}} 29 29 30 As best as we can figure, what appears to be happening is that there is a function is_child_theme() in wp-includes/theme.php which has changed. It had been dependent upon two global constants (STYLESHEET DIR and TEMPLATEDIR), but now it is using the functions get_template_directory() and get_stylesheet_directory().30 As best as we can figure, what appears to be happening is that there is a function is_child_theme() in wp-includes/theme.php which has changed. It had been dependent upon two global constants (STYLESHEETPATH and TEMPLATEPATH), but now it is using the functions get_template_directory() and get_stylesheet_directory(). 31 31 32 32 In the past the two global constants were being set by calling the same functions, but likely before the theme was loaded or initialized. In WP 6.3 and earlier, the is_child_theme() function call returned false. Now that function call is returning true.