Changeset 6612 for trunk/bp-core/bp-core-template.php
- Timestamp:
- 12/10/2012 03:28:36 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-template.php
r6603 r6612 1057 1057 } 1058 1058 1059 function bp_is_page( $page ) {1060 if ( !bp_is_user() && bp_is_current_component( $page ) )1061 return true;1062 1063 if ( 'home' == $page )1064 return is_front_page();1065 1066 return false;1067 }1068 1069 1059 /** 1070 1060 * Is this a BuddyPress component?
Note: See TracChangeset
for help on using the changeset viewer.