Changeset 5660 for trunk/src/templates/default/bbpress/form-user-edit.php
- Timestamp:
- 03/25/2015 01:27:13 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/templates/default/bbpress/form-user-edit.php
r5561 r5660 102 102 <div> 103 103 <label for="email"><?php _e( 'Email', 'bbpress' ); ?></label> 104 105 104 <input type="text" name="email" id="email" value="<?php bbp_displayed_user_field( 'user_email', 'edit' ); ?>" class="regular-text" /> 106 107 <?php108 109 // Handle address change requests110 $new_email = get_option( bbp_get_displayed_user_id() . '_new_email' );111 if ( !empty( $new_email ) && $new_email !== bbp_get_displayed_user_field( 'user_email', 'edit' ) ) : ?>112 113 <span class="updated inline">114 115 <?php printf( __( 'There is a pending email address change to <code>%1$s</code>. <a href="%2$s">Cancel</a>', 'bbpress' ), $new_email['newemail'], esc_url( self_admin_url( 'user.php?dismiss=' . bbp_get_current_user_id() . '_new_email' ) ) ); ?>116 117 </span>118 119 <?php endif; ?>120 121 105 </div> 122 106
Note: See TracChangeset
for help on using the changeset viewer.