Changeset 11149
- Timestamp:
- 09/22/2016 12:16:30 AM (8 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-members/bp-members-template.php
r11033 r11149 830 830 */ 831 831 function bp_member_permalink() { 832 echo bp_get_member_permalink();832 echo esc_url( bp_get_member_permalink() ); 833 833 } 834 834 /** … … 857 857 * @since 1.2.0 858 858 */ 859 function bp_member_link() { echo bp_get_member_permalink(); }859 function bp_member_link() { echo esc_url( bp_get_member_permalink() ); } 860 860 861 861 /** … … 1758 1758 */ 1759 1759 function bp_loggedin_user_link() { 1760 echo bp_get_loggedin_user_link();1760 echo esc_url( bp_get_loggedin_user_link() ); 1761 1761 } 1762 1762 /** … … 1785 1785 */ 1786 1786 function bp_displayed_user_link() { 1787 echo bp_get_displayed_user_link();1787 echo esc_url( bp_get_displayed_user_link() ); 1788 1788 } 1789 1789 /** -
trunk/src/bp-templates/bp-legacy/buddypress/members/index.php
r11148 r11149 62 62 63 63 <?php if ( is_user_logged_in() && bp_is_active( 'friends' ) && bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?> 64 <li id="members-personal"><a href="<?php echo bp_loggedin_user_domain() . bp_get_friends_slug() . '/my-friends/'; ?>"><?php printf( __( 'My Friends %s', 'buddypress' ), '<span>' . bp_get_total_friend_count( bp_loggedin_user_id() ) . '</span>' ); ?></a></li>64 <li id="members-personal"><a href="<?php echo esc_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/my-friends/' ); ?>"><?php printf( __( 'My Friends %s', 'buddypress' ), '<span>' . bp_get_total_friend_count( bp_loggedin_user_id() ) . '</span>' ); ?></a></li> 65 65 <?php endif; ?> 66 66
Note: See TracChangeset
for help on using the changeset viewer.