Changeset 13443 for trunk/src/bp-settings/bp-settings-template.php
- Timestamp:
- 03/31/2023 05:26:39 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-settings/bp-settings-template.php
r13090 r13443 81 81 } 82 82 83 $settings_slug = bp_get_settings_slug(); 84 $dismiss_url = wp_nonce_url( 85 add_query_arg( 86 'dismiss_email_change', 87 1, 88 bp_displayed_user_url( 89 array( 90 'single_item_component' => bp_rewrites_get_slug( 'members', 'member_' . $settings_slug, $settings_slug ), 91 ) 92 ) 93 ), 94 'bp_dismiss_email_change' 95 ); 83 96 ?> 84 97 … … 98 111 __( 'Check your email (%1$s) for the verification link, or <a href="%2$s">cancel the pending change</a>.', 'buddypress' ), 99 112 '<code>' . esc_html( $pending_email['newemail'] ) . '</code>', 100 esc_url( wp_nonce_url( bp_displayed_user_domain() . bp_get_settings_slug() . '/?dismiss_email_change=1', 'bp_dismiss_email_change' ))113 esc_url( $dismiss_url ) 101 114 ); 102 115 ?>
Note: See TracChangeset
for help on using the changeset viewer.