Changeset 6999
- Timestamp:
- 05/06/2013 12:01:25 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-blogs/bp-blogs-widgets.php
r6432 r6999 29 29 30 30 extract( $args ); 31 32 $widget_name = apply_filters( 'widget_title', $widget_name ); 31 33 32 34 echo $before_widget; -
trunk/bp-core/bp-core-widgets.php
r6975 r6999 35 35 $instance['member_default'] = 'active'; 36 36 37 $title = apply_filters( 'widget_title', $instance['title'] ); 38 37 39 echo $before_widget; 38 40 39 $title = $instance['link_title'] ? '<a href="' . trailingslashit( bp_get_root_domain() . '/' . bp_get_members_root_slug() ) . '">' . $ instance['title'] . '</a>' : $instance['title'];41 $title = $instance['link_title'] ? '<a href="' . trailingslashit( bp_get_root_domain() . '/' . bp_get_members_root_slug() ) . '">' . $title . '</a>' : $title; 40 42 41 43 echo $before_title … … 156 158 function widget($args, $instance) { 157 159 158 extract( $args ); 160 extract( $args ); 161 162 $title = apply_filters( 'widget_title', $instance['title'] ); 159 163 160 164 echo $before_widget; 161 165 echo $before_title 162 . $ instance['title']166 . $title 163 167 . $after_title; ?> 164 168 … … 225 229 extract( $args ); 226 230 231 $title = apply_filters( 'widget_title', $instance['title'] ); 232 227 233 echo $before_widget; 228 234 echo $before_title 229 . $ instance['title']235 . $title 230 236 . $after_title; ?> 231 237 -
trunk/bp-groups/bp-groups-widgets.php
r6975 r6999 48 48 $instance['title'] = __( 'Groups', 'buddypress' ); 49 49 50 $title = apply_filters( 'widget_title', $instance['title'] ); 51 50 52 echo $before_widget; 51 53 52 $title = !empty( $instance['link_title'] ) ? '<a href="' . trailingslashit( bp_get_root_domain() . '/' . bp_get_groups_root_slug() ) . '">' . $ instance['title'] . '</a>' : $instance['title'];54 $title = !empty( $instance['link_title'] ) ? '<a href="' . trailingslashit( bp_get_root_domain() . '/' . bp_get_groups_root_slug() ) . '">' . $title . '</a>' : $title; 53 55 54 56 echo $before_title . $title . $after_title; ?>
Note: See TracChangeset
for help on using the changeset viewer.