Changeset 4809
- Timestamp:
- 07/22/2011 08:30:54 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-template.php
r4804 r4809 1151 1151 global $bp; 1152 1152 1153 return apply_filters( 'bp_get_activity_comment_form_action', home_url( $bp->activity->root_slug. '/reply/' ) );1153 return apply_filters( 'bp_get_activity_comment_form_action', home_url( bp_get_activity_root_slug() . '/reply/' ) ); 1154 1154 } 1155 1155 … … 1179 1179 function bp_get_activity_favorite_link() { 1180 1180 global $bp, $activities_template; 1181 return apply_filters( 'bp_get_activity_favorite_link', wp_nonce_url( home_url( $bp->activity->root_slug. '/favorite/' . $activities_template->activity->id . '/' ), 'mark_favorite' ) );1181 return apply_filters( 'bp_get_activity_favorite_link', wp_nonce_url( home_url( bp_get_activity_root_slug() . '/favorite/' . $activities_template->activity->id . '/' ), 'mark_favorite' ) ); 1182 1182 } 1183 1183 … … 1187 1187 function bp_get_activity_unfavorite_link() { 1188 1188 global $bp, $activities_template; 1189 return apply_filters( 'bp_get_activity_unfavorite_link', wp_nonce_url( home_url( $bp->activity->root_slug. '/unfavorite/' . $activities_template->activity->id . '/' ), 'unmark_favorite' ) );1189 return apply_filters( 'bp_get_activity_unfavorite_link', wp_nonce_url( home_url( bp_get_activity_root_slug() . '/unfavorite/' . $activities_template->activity->id . '/' ), 'unmark_favorite' ) ); 1190 1190 } 1191 1191 … … 1268 1268 return false; 1269 1269 1270 $latest_update = '"' . apply_filters( 'bp_get_activity_latest_update_excerpt', trim( strip_tags( bp_create_excerpt( $update['content'], 358 ) ) ) ) . '"';1271 $latest_update .= ' · <a href="' . bp_get_root_domain() . '/' . $bp->activity->root_slug. '/p/' . $update['id'] . '/"> ' . __( 'View', 'buddypress' ) . '</a>';1270 $latest_update = apply_filters( 'bp_get_activity_latest_update_excerpt', '"' . trim( strip_tags( bp_create_excerpt( $update['content'], 358 ) ) ) . '"' ); 1271 $latest_update .= ' <a href="' . bp_get_root_domain() . '/' . bp_get_activity_root_slug() . '/p/' . $update['id'] . '/"> ' . __( 'View', 'buddypress' ) . '</a>'; 1272 1272 1273 1273 return apply_filters( 'bp_get_activity_latest_update', $latest_update ); -
trunk/bp-members/bp-members-template.php
r4804 r4809 545 545 return false; 546 546 547 $update_content = apply_filters( 'bp_get_activity_latest_update', strip_tags( bp_create_excerpt( $update['content'], $length ) ));547 $update_content = apply_filters( 'bp_get_activity_latest_update', '"' . trim( strip_tags( bp_create_excerpt( $update['content'], $length ) ) ) . '"' ); 548 548 549 549 if ( !empty( $update['id'] ) && bp_is_active( 'activity' ) ) 550 $update_content .= ' ·<a href="' . bp_get_root_domain() . '/' . bp_get_activity_root_slug() . '/p/' . $update['id'] . '">' . __( 'View', 'buddypress' ) . '</a>';550 $update_content .= ' <a href="' . bp_get_root_domain() . '/' . bp_get_activity_root_slug() . '/p/' . $update['id'] . '">' . __( 'View', 'buddypress' ) . '</a>'; 551 551 552 552 return apply_filters( 'bp_get_member_latest_update', $update_content ); -
trunk/bp-themes/bp-default/_inc/global.js
r4804 r4809 96 96 var u = ''; 97 97 if ( ltext != '' ) 98 u = l + '· ';98 u = '"' + l + '" '; 99 99 100 100 u += '<a href="' + v + '" rel="nofollow">' + BP_DTheme.view + '</a>';
Note: See TracChangeset
for help on using the changeset viewer.