Revert [28563]. See #18298.

git-svn-id: https://develop.svn.wordpress.org/trunk@29044 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2014-07-09 18:06:54 +00:00
parent bdeb3348ed
commit 3cda5caafd
5 changed files with 14 additions and 20 deletions

View File

@@ -128,7 +128,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 get_template_directory() !== get_stylesheet_directory();
return ( TEMPLATEPATH !== STYLESHEETPATH );
}
/**