Changeset 3365 for trunk/bp-core/bp-core-templatetags.php
- Timestamp:
- 11/06/2010 07:04:00 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-templatetags.php
r3360 r3365 1308 1308 global $bp; 1309 1309 1310 $bp->ajax_querystring = apply_filters( 'bp_ajax_querystring', $query_string, $object ); 1311 return $bp->ajax_querystring; 1310 if ( !isset( $bp->ajax_querystring ) ) 1311 $bp->ajax_querystring = ''; 1312 1313 return apply_filters( 'bp_ajax_querystring', $bp->ajax_querystring, $object ); 1312 1314 } 1313 1315 … … 1650 1652 global $bp; 1651 1653 1652 if ( BP_XPROFILE_SLUG == $bp->current_component ||$bp->core->profile->slug == $bp->current_component )1654 if ( defined( 'BP_XPROFILE_SLUG' ) && BP_XPROFILE_SLUG == $bp->current_component || isset( $bp->core->profile->slug ) && $bp->core->profile->slug == $bp->current_component ) 1653 1655 return true; 1654 1656 … … 1686 1688 global $bp; 1687 1689 1688 if ( BP_GROUPS_SLUG == $bp->current_component && $bp->groups->current_group )1690 if ( BP_GROUPS_SLUG == $bp->current_component && isset( $bp->groups->current_group ) && $bp->groups->current_group ) 1689 1691 return true; 1690 1692
Note: See TracChangeset
for help on using the changeset viewer.