[wp-trac] [WordPress Trac] #48100: the quotes around those two constants are missing causing PHP error
WordPress Trac
noreply at wordpress.org
Sat Sep 21 17:47:56 UTC 2019
#48100: the quotes around those two constants are missing causing PHP error
--------------------------+-----------------------------
Reporter: feminatzi | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
wp-includes/theme.php
@@ -150,7 +150,7 @@ function wp_clean_themes_cache( $clear_update_cache =
true ) {
* @return bool true if a child theme is in use, false otherwise.
*/
function is_child_theme() {
return ( TEMPLATEPATH !== STYLESHEETPATH );
return ( 'TEMPLATEPATH' !== 'STYLESHEETPATH' );
}
**the quotes around those two constants are missing causing PHP error
**
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48100>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list