Changeset 6660 for trunk/bp-groups/bp-groups-widgets.php
- Timestamp:
- 12/25/2012 09:14:22 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-widgets.php
r6432 r6660 47 47 echo $before_widget; 48 48 49 $title = $instance['link_title'] ? '<a href="' . trailingslashit( bp_get_root_domain() . '/' . bp_get_groups_root_slug() ) . '">' . $instance['title'] . '</a>' : $instance['title']; 50 51 echo $before_title 52 . $title 53 . $after_title; ?> 49 $title = !empty( $instance['link_title'] ) ? '<a href="' . trailingslashit( bp_get_root_domain() . '/' . bp_get_groups_root_slug() ) . '">' . $instance['title'] . '</a>' : ''; 50 51 echo $before_title . $title . $after_title; ?> 54 52 55 53 <?php if ( bp_has_groups( 'user_id=' . $user_id . '&type=' . $instance['group_default'] . '&max=' . $instance['max_groups'] ) ) : ?>
Note: See TracChangeset
for help on using the changeset viewer.