Changeset 10266
- Timestamp:
- 10/13/2015 06:13:01 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-admin.php
r10261 r10266 700 700 701 701 <?php else : ?> 702 <p><?php printf( __( 'No activity found with this ID. <a href="%s">Go back and try again</a>.', 'buddypress' ), esc_url( bp_get_admin_url( 'admin.php?page=bp-activity' ) ) ); ?></p> 702 <p> 703 <?php _e( 'No activity found with this ID.', 'buddypress' ); ?> 704 <a href="<?php echo esc_url( bp_get_admin_url( 'admin.php?page=bp-activity' ) ); ?>"><?php _e( 'Go back and try again.', 'buddypress' ); ?></a> 705 </p> 703 706 <?php endif; ?> 704 707 … … 1650 1653 $activity_permalink = ''; 1651 1654 if ( ! $item['is_spam'] ) { 1652 $activity_permalink = sprintf( __( '<a href="%1$s" class="comments-view-item-link">View Activity</a>', 'buddypress' ), bp_activity_get_permalink( $item['id'], (object) $item ) );1655 $activity_permalink = '<a href="' . bp_activity_get_permalink( $item['id'], (object) $item ) . '" class="comments-view-item-link">' . __( 'View Activity', 'buddypress' ) . '</a>'; 1653 1656 } 1654 1657
Note: See TracChangeset
for help on using the changeset viewer.