Permalink
Browse files

Use get_stylesheet() instead of get_template() to check if 'hybrid' i…

…s the current theme.

git-svn-id: http://svn.locallylost.com/themes/hybrid/trunk@598 dba0f204-706d-4bc1-bc29-8b92e0485636
  • Loading branch information...
greenshady
greenshady committed Mar 3, 2011
1 parent dcece5c commit 368bb80a547483dc0dc43fb2328fb2d5a98519f9
Showing with 1 addition and 1 deletion.
  1. +1 −1 functions.php
View
@@ -66,7 +66,7 @@ function hybrid_theme_setup_theme() {
add_theme_support( 'post-stylesheets' );
/* Only add cleaner gallery support if not using child theme. Eventually, all child themes should support this. */
- if ( 'hybrid' == get_template() )
+ if ( 'hybrid' == get_stylesheet() )
add_theme_support( 'cleaner-gallery' );
/* Add support for WordPress features. */

0 comments on commit 368bb80

Please sign in to comment.