Changeset 6310 for trunk/bp-activity/bp-activity-akismet.php
- Timestamp:
- 09/06/2012 04:24:22 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-akismet.php
r6259 r6310 98 98 $b[ $k ] = $item; 99 99 if ( $k == 'edit' ) 100 $b['history'] = '<a href="' . network_admin_url( 'admin.php?page=bp-activity&action=edit&aid=' . $activity['id']) . '#bp_activity_history"> '. __( 'History', 'buddypress' ) . '</a>';100 $b['history'] = '<a href="' . esc_url( bp_get_admin_url( 'admin.php?page=bp-activity&action=edit&aid=' . $activity['id'] ) ) . '#bp_activity_history"> '. __( 'History', 'buddypress' ) . '</a>'; 101 101 } 102 102 … … 105 105 106 106 if ( $desc ) 107 echo '<span class="akismet-status"><a href="' . network_admin_url( 'admin.php?page=bp-activity&action=edit&aid=' . $activity['id']) . '#bp_activity_history">' . htmlspecialchars( $desc ) . '</a></span>';107 echo '<span class="akismet-status"><a href="' . esc_url( bp_get_admin_url( 'admin.php?page=bp-activity&action=edit&aid=' . $activity['id'] ) ) . '#bp_activity_history">' . htmlspecialchars( $desc ) . '</a></span>'; 108 108 109 109 return apply_filters( 'bp_akismet_comment_row_action', $actions );
Note: See TracChangeset
for help on using the changeset viewer.