Ticket #30459: 30459.patch
File 30459.patch, 330 bytes (added by , 10 years ago) |
---|
-
../wp-includes/theme.php
128 128 * @return bool true if a child theme is in use, false otherwise. 129 129 **/ 130 130 function is_child_theme() { 131 return ( TEMPLATEPATH !== STYLESHEETPATH);131 return ( get_template_directory() !== get_stylesheet_directory() ); 132 132 } 133 133 134 134 /**