Changeset 7366 for trunk/bp-core/bp-core-template.php
- Timestamp:
- 09/02/2013 12:20:05 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-template.php
r7361 r7366 815 815 $is_current_component = false; 816 816 817 // Always return false if a null value is passed to the function 818 if ( empty( $component ) ) { 819 return false; 820 } 821 817 822 // Backward compatibility: 'xprofile' should be read as 'profile' 818 823 if ( 'xprofile' == $component ) 819 824 $component = 'profile'; 820 825 821 if ( ! empty( $bp->current_component ) && ! empty( $component )) {826 if ( ! empty( $bp->current_component ) ) { 822 827 823 828 // First, check to see whether $component_name and the current
Note: See TracChangeset
for help on using the changeset viewer.