Changeset 1904 for trunk/bp-core.php
- Timestamp:
- 09/21/2009 04:49:17 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/bp-core.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core.php
r1896 r1904 623 623 624 624 if ( $bp->current_component == $slug && !$bp->current_action ) { 625 if ( function_exists( $screen_function ) ) 626 add_action( 'wp', $function, 3 ); 625 if ( !is_object( $screen_function[0] ) ) 626 add_action( 'wp', $screen_function, 3 ); 627 else 628 add_action( 'wp', array( &$screen_function[0], $screen_function[1] ), 3 ); 627 629 628 630 if ( $default_subnav_slug ) … … 726 728 727 729 if ( ( $bp->current_action == $slug && $bp->current_component == $parent_slug ) && $user_has_access ) { 728 if ( !is_object( $screen_function[0]) )730 if ( !is_object( $screen_function[0] ) ) 729 731 add_action( 'wp', $screen_function, 3 ); 730 732 else
Note: See TracChangeset
for help on using the changeset viewer.