Changeset 13822 for trunk/src/bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php
- Timestamp:
- 04/29/2024 06:50:42 PM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php
r12082 r13822 27 27 28 28 <div class="bp-widget wp-profile"> 29 <h2><?php bp_is_my_profile() ? _e( 'My Profile', 'buddypress' ) : printf( __( "%s's Profile", 'buddypress' ), bp_get_displayed_user_fullname() ); ?></h2>29 <h2><?php bp_is_my_profile() ? esc_html_e( 'My Profile', 'buddypress' ) : printf( esc_html__( "%s's Profile", 'buddypress' ), esc_html( bp_get_displayed_user_fullname() ) ); ?></h2> 30 30 31 31 <table class="wp-profile-fields"> … … 34 34 35 35 <tr id="wp_displayname"> 36 <td class="label"><?php _e( 'Name', 'buddypress' ); ?></td>37 <td class="data"><?php echo $ud->display_name; ?></td>36 <td class="label"><?php esc_html_e( 'Name', 'buddypress' ); ?></td> 37 <td class="data"><?php echo esc_html( $ud->display_name ); ?></td> 38 38 </tr> 39 39 … … 43 43 44 44 <tr id="wp_desc"> 45 <td class="label"><?php _e( 'About Me', 'buddypress' ); ?></td>46 <td class="data"><?php echo $ud->user_description; ?></td>45 <td class="label"><?php esc_html_e( 'About Me', 'buddypress' ); ?></td> 46 <td class="data"><?php echo esc_html( $ud->user_description ); ?></td> 47 47 </tr> 48 48 … … 52 52 53 53 <tr id="wp_website"> 54 <td class="label"><?php _e( 'Website', 'buddypress' ); ?></td> 55 <td class="data"><?php echo make_clickable( $ud->user_url ); ?></td> 54 <td class="label"><?php esc_html_e( 'Website', 'buddypress' ); ?></td> 55 <td class="data"> 56 <?php 57 // phpcs:ignore WordPress.Security.EscapeOutput 58 echo make_clickable( esc_url( $ud->user_url ) ); 59 ?> 60 </td> 56 61 </tr> 57 62 … … 61 66 62 67 <tr id="wp_jabber"> 63 <td class="label"><?php _e( 'Jabber', 'buddypress' ); ?></td>64 <td class="data"><?php echo $ud->jabber; ?></td>68 <td class="label"><?php esc_html_e( 'Jabber', 'buddypress' ); ?></td> 69 <td class="data"><?php echo esc_html( $ud->jabber ); ?></td> 65 70 </tr> 66 71 … … 70 75 71 76 <tr id="wp_aim"> 72 <td class="label"><?php _e( 'AOL Messenger', 'buddypress' ); ?></td>73 <td class="data"><?php echo $ud->aim; ?></td>77 <td class="label"><?php esc_html_e( 'AOL Messenger', 'buddypress' ); ?></td> 78 <td class="data"><?php echo esc_html( $ud->aim ); ?></td> 74 79 </tr> 75 80 … … 79 84 80 85 <tr id="wp_yim"> 81 <td class="label"><?php _e( 'Yahoo Messenger', 'buddypress' ); ?></td>82 <td class="data"><?php echo $ud->yim; ?></td>86 <td class="label"><?php esc_html_e( 'Yahoo Messenger', 'buddypress' ); ?></td> 87 <td class="data"><?php echo esc_html( $ud->yim ); ?></td> 83 88 </tr> 84 89
Note: See TracChangeset
for help on using the changeset viewer.