Changeset 970 for trunk/bp-forums.php
- Timestamp:
- 01/29/2009 09:20:30 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/bp-forums.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-forums.php
r938 r970 26 26 add_action( 'wp', 'bp_forums_setup', 3 ); 27 27 add_action( 'admin_head', 'bp_forums_setup', 3 ); 28 29 function bp_forums_is_installed_correctly() { 30 global $bbpress_live; 31 32 if ( !is_object( $bbpress_live ) ) { 33 include_once( ABSPATH . WPINC . '/class-IXR.php' ); 34 $bbpress_live = new bbPress_Live(); 35 } 36 37 if ( !$bbpress_live->fetch->endpoint ) 38 return false; 39 40 return true; 41 } 28 42 29 43 function bp_forums_get_forum( $parent = 0, $depth = 0 ) {
Note: See TracChangeset
for help on using the changeset viewer.