Changeset 13814
- Timestamp:
- 04/27/2024 09:56:51 AM (22 months ago)
- Location:
- trunk/src/bp-settings
- Files:
-
- 2 edited
-
bp-settings-functions.php (modified) (1 diff)
-
bp-settings-template.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-settings/bp-settings-functions.php
r13473 r13814 361 361 * @param string $exporter Internal exporter name. 362 362 */ 363 $item = apply_filters( 'bp_settings_data_exporter_name', esc_html( $friendly_name ), $exporter );363 $item = apply_filters( 'bp_settings_data_exporter_name', $friendly_name, $exporter ); 364 364 ?> 365 365 366 <li><?php echo $item; ?></li>366 <li><?php echo esc_html( $item ); ?></li> 367 367 368 368 <?php endforeach; ?> -
trunk/src/bp-settings/bp-settings-template.php
r13587 r13814 17 17 */ 18 18 function bp_settings_slug() { 19 echo bp_get_settings_slug();19 echo esc_url( bp_get_settings_slug() ); 20 20 } 21 21 … … 45 45 */ 46 46 function bp_settings_root_slug() { 47 echo bp_get_settings_root_slug();47 echo esc_url( bp_get_settings_root_slug() ); 48 48 } 49 49 … … 100 100 printf( 101 101 /* translators: %s: new email address */ 102 __( 'There is a pending change of your email address to %s.', 'buddypress' ),102 esc_html__( 'There is a pending change of your email address to %s.', 'buddypress' ), 103 103 '<code>' . esc_html( $pending_email['newemail'] ) . '</code>' 104 104 ); … … 108 108 printf( 109 109 /* translators: 1: email address. 2: cancel email change url. */ 110 __( 'Check your email (%1$s) for the verification link, or <a href="%2$s">cancel the pending change</a>.', 'buddypress' ),110 esc_html__( 'Check your email (%1$s) for the verification link, or %2$s.', 'buddypress' ), 111 111 '<code>' . esc_html( $pending_email['newemail'] ) . '</code>', 112 esc_url( $dismiss_url )112 '<a href="' . esc_url( $dismiss_url ) . '">' . esc_html__( 'cancel the pending change', 'buddypress' ) . '</a>' 113 113 ); 114 114 ?>
Note: See TracChangeset
for help on using the changeset viewer.