Changeset 38006
- Timestamp:
- 07/07/2016 05:12:54 PM (8 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options-general.php
r37985 r38006 113 113 printf( 114 114 ' <a href="%1$s">%2$s</a>', 115 esc_url( admin_url( 'options.php?dismiss=new_admin_email' ) ),115 esc_url( wp_nonce_url( admin_url( 'options.php?dismiss=new_admin_email' ), 'dismiss-' . get_current_blog_id() . '-new_admin_email' ) ), 116 116 __( 'Cancel' ) 117 117 ); -
trunk/src/wp-admin/options.php
r37985 r38006 67 67 exit; 68 68 } elseif ( ! empty( $_GET['dismiss'] ) && 'new_admin_email' == $_GET['dismiss'] ) { 69 check_admin_referer( 'dismiss-' . get_current_blog_id() . '-new_admin_email' ); 69 70 delete_option( 'adminhash' ); 70 71 delete_option( 'new_admin_email' );
Note: See TracChangeset
for help on using the changeset viewer.