Created
May 10, 2014 03:48
-
-
Save ntwb/6b229b09ab864a9dbd4d to your computer and use it in GitHub Desktop.
When bbPress Capabilities is network activated we need to check if bbPress exists
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: bbp-capabilities.php | |
=================================================================== | |
--- bbp-capabilities.php (revision 911477) | |
+++ bbp-capabilities.php (working copy) | |
@@ -543,7 +543,6 @@ | |
} | |
/** | |
-/** | |
* Loads bbPress users admin area | |
* | |
* @package bbPress | |
@@ -610,7 +609,7 @@ | |
public function table_css() { | |
// Non admin action | |
- if ( bbp_is_single_user_edit() || is_admin() ) : ?> | |
+ if ( function_exists ('is_bbpress') && bbp_is_single_user_edit() || is_admin() ) : ?> | |
<style type="text/css" media="screen"> | |
/*<![CDATA[*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment