Permalink
Browse files

Small bbPress fix.

git-svn-id: http://svn.locallylost.com/themes/hybrid-core/trunk@956 dba0f204-706d-4bc1-bc29-8b92e0485636
  • Loading branch information...
1 parent 9eca59b commit d36bc82d654019044a2d8f719a7b33c93bbf1741 greenshady committed Dec 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 extensions/post-stylesheets.php
@@ -93,7 +93,7 @@ function post_stylesheets_remove_post_type_support() {
remove_post_type_support( bbp_get_topic_post_type(), 'post-stylesheets' );
/* Removes post stylesheets support of the bbPress 'reply' post type. */
- elseif ( function_exists( 'bbp_get_reply_post_type' ) )
+ if ( function_exists( 'bbp_get_reply_post_type' ) )
remove_post_type_support( bbp_get_reply_post_type(), 'post-stylesheets' );
}

0 comments on commit d36bc82

Please sign in to comment.