Ticket #26156: 26156.diff
File 26156.diff, 25.9 KB (added by , 10 years ago) |
---|
-
src/wp-admin/comment.php
164 164 </tr> 165 165 <?php if ( $comment->comment_author_email ) { ?> 166 166 <tr> 167 <th scope="row"><?php _e('E -mail'); ?></th>167 <th scope="row"><?php _e('Email'); ?></th> 168 168 <td><?php echo $comment->comment_author_email; ?></td> 169 169 </tr> 170 170 <?php } ?> -
src/wp-admin/edit-form-comment.php
36 36 <td class="first"> 37 37 <?php 38 38 if ( $comment->comment_author_email ) { 39 printf( __( 'E -mail (%s):' ), get_comment_author_email_link( __( 'send e-mail' ), '', '' ) );39 printf( __( 'Email (%s):' ), get_comment_author_email_link( __( 'send email' ), '', '' ) ); 40 40 } else { 41 _e( 'E -mail:' );41 _e( 'Email:' ); 42 42 } 43 43 ?></td> 44 44 <td><input type="text" name="newcomment_author_email" size="30" value="<?php echo $comment->comment_author_email; ?>" id="email" /></td> -
src/wp-admin/includes/class-wp-ms-users-list-table.php
120 120 'cb' => '<input type="checkbox" />', 121 121 'username' => __( 'Username' ), 122 122 'name' => __( 'Name' ), 123 'email' => __( 'E -mail' ),123 'email' => __( 'Email' ), 124 124 'registered' => _x( 'Registered', 'user' ), 125 125 'blogs' => __( 'Sites' ) 126 126 ); -
src/wp-admin/includes/class-wp-users-list-table.php
261 261 'cb' => '<input type="checkbox" />', 262 262 'username' => __( 'Username' ), 263 263 'name' => __( 'Name' ), 264 'email' => __( 'E -mail' ),264 'email' => __( 'Email' ), 265 265 'role' => __( 'Role' ), 266 266 'posts' => __( 'Posts' ) 267 267 ); … … 418 418 $r .= "<td $attributes>$user_object->first_name $user_object->last_name</td>"; 419 419 break; 420 420 case 'email': 421 $r .= "<td $attributes><a href='mailto:$email' title='" . esc_attr( sprintf( __( 'E -mail: %s' ), $email ) ) . "'>$email</a></td>";421 $r .= "<td $attributes><a href='mailto:$email' title='" . esc_attr( sprintf( __( 'Email: %s' ), $email ) ) . "'>$email</a></td>"; 422 422 break; 423 423 case 'role': 424 424 $r .= "<td $attributes>$role_name</td>"; -
src/wp-admin/includes/schema.php
874 874 875 875 $site_user = get_user_by( 'email', $email ); 876 876 if ( ! is_email( $email ) ) 877 $errors->add( 'invalid_email', __( 'You must provide a valid e -mail address.' ) );877 $errors->add( 'invalid_email', __( 'You must provide a valid email address.' ) ); 878 878 879 879 if ( $errors->get_error_code() ) 880 880 return $errors; -
src/wp-admin/includes/template.php
459 459 </div> 460 460 461 461 <div class="inside"> 462 <label for="author-email"><?php _e('E -mail') ?></label>462 <label for="author-email"><?php _e('Email') ?></label> 463 463 <input type="text" name="newcomment_author_email" size="50" value="" id="author-email" /> 464 464 </div> 465 465 -
src/wp-admin/includes/user.php
149 149 if ( !$update && username_exists( $user->user_login ) ) 150 150 $errors->add( 'user_login', __( '<strong>ERROR</strong>: This username is already registered. Please choose another one.' )); 151 151 152 /* checking e -mail address */152 /* checking email address */ 153 153 if ( empty( $user->user_email ) ) { 154 $errors->add( 'empty_email', __( '<strong>ERROR</strong>: Please enter an e -mail address.' ), array( 'form-field' => 'email' ) );154 $errors->add( 'empty_email', __( '<strong>ERROR</strong>: Please enter an email address.' ), array( 'form-field' => 'email' ) ); 155 155 } elseif ( !is_email( $user->user_email ) ) { 156 156 $errors->add( 'invalid_email', __( '<strong>ERROR</strong>: The email address isn’t correct.' ), array( 'form-field' => 'email' ) ); 157 157 } elseif ( ( $owner_id = email_exists($user->user_email) ) && ( !$update || ( $owner_id != $user->ID ) ) ) { -
src/wp-admin/install.php
138 138 </tr> 139 139 <?php endif; ?> 140 140 <tr> 141 <th scope="row"><label for="admin_email"><?php _e( 'Your E -mail' ); ?></label></th>141 <th scope="row"><label for="admin_email"><?php _e( 'Your Email' ); ?></label></th> 142 142 <td><input name="admin_email" type="email" id="admin_email" size="25" value="<?php echo esc_attr( $admin_email ); ?>" /> 143 143 <p><?php _e( 'Double-check your email address before continuing.' ); ?></p></td> 144 144 </tr> … … 243 243 $admin_email = isset( $_POST['admin_email'] ) ?trim( wp_unslash( $_POST['admin_email'] ) ) : ''; 244 244 $public = isset( $_POST['blog_public'] ) ? (int) $_POST['blog_public'] : 0; 245 245 246 // Check e -mail address.246 // Check email address. 247 247 $error = false; 248 248 if ( empty( $user_name ) ) { 249 249 // TODO: poka-yoke -
src/wp-admin/options-discussion.php
78 78 <tr> 79 79 <th scope="row"><?php _e('Other comment settings'); ?></th> 80 80 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Other comment settings'); ?></span></legend> 81 <label for="require_name_email"><input type="checkbox" name="require_name_email" id="require_name_email" value="1" <?php checked('1', get_option('require_name_email')); ?> /> <?php _e('Comment author must fill out name and e -mail'); ?></label>81 <label for="require_name_email"><input type="checkbox" name="require_name_email" id="require_name_email" value="1" <?php checked('1', get_option('require_name_email')); ?> /> <?php _e('Comment author must fill out name and email'); ?></label> 82 82 <br /> 83 83 <label for="comment_registration"> 84 84 <input name="comment_registration" type="checkbox" id="comment_registration" value="1" <?php checked('1', get_option('comment_registration')); ?> /> … … 144 144 </fieldset></td> 145 145 </tr> 146 146 <tr> 147 <th scope="row"><?php _e('E -mail me whenever'); ?></th>148 <td><fieldset><legend class="screen-reader-text"><span><?php _e('E -mail me whenever'); ?></span></legend>147 <th scope="row"><?php _e('Email me whenever'); ?></th> 148 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Email me whenever'); ?></span></legend> 149 149 <label for="comments_notify"> 150 150 <input name="comments_notify" type="checkbox" id="comments_notify" value="1" <?php checked('1', get_option('comments_notify')); ?> /> 151 151 <?php _e('Anyone posts a comment'); ?> </label> … … 170 170 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Comment Moderation'); ?></span></legend> 171 171 <p><label for="comment_max_links"><?php printf(__('Hold a comment in the queue if it contains %s or more links. (A common characteristic of comment spam is a large number of hyperlinks.)'), '<input name="comment_max_links" type="number" step="1" min="0" id="comment_max_links" value="' . esc_attr(get_option('comment_max_links')) . '" class="small-text" />' ); ?></label></p> 172 172 173 <p><label for="moderation_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e -mail, or IP, it will be held in the <a href="edit-comments.php?comment_status=moderated">moderation queue</a>. One word or IP per line. It will match inside words, so “press” will match “WordPress”.'); ?></label></p>173 <p><label for="moderation_keys"><?php _e('When a comment contains any of these words in its content, name, URL, email, or IP, it will be held in the <a href="edit-comments.php?comment_status=moderated">moderation queue</a>. One word or IP per line. It will match inside words, so “press” will match “WordPress”.'); ?></label></p> 174 174 <p> 175 175 <textarea name="moderation_keys" rows="10" cols="50" id="moderation_keys" class="large-text code"><?php echo esc_textarea( get_option( 'moderation_keys' ) ); ?></textarea> 176 176 </p> … … 179 179 <tr> 180 180 <th scope="row"><?php _e('Comment Blacklist'); ?></th> 181 181 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Comment Blacklist'); ?></span></legend> 182 <p><label for="blacklist_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e -mail, or IP, it will be marked as spam. One word or IP per line. It will match inside words, so “press” will match “WordPress”.'); ?></label></p>182 <p><label for="blacklist_keys"><?php _e('When a comment contains any of these words in its content, name, URL, email, or IP, it will be marked as spam. One word or IP per line. It will match inside words, so “press” will match “WordPress”.'); ?></label></p> 183 183 <p> 184 184 <textarea name="blacklist_keys" rows="10" cols="50" id="blacklist_keys" class="large-text code"><?php echo esc_textarea( get_option( 'blacklist_keys' ) ); ?></textarea> 185 185 </p> … … 235 235 <th scope="row"><?php _e('Default Avatar'); ?></th> 236 236 <td class="defaultavatarpicker"><fieldset><legend class="screen-reader-text"><span><?php _e('Default Avatar'); ?></span></legend> 237 237 238 <?php _e('For users without a custom avatar of their own, you can either display a generic logo or a generated one based on their e -mail address.'); ?><br />238 <?php _e('For users without a custom avatar of their own, you can either display a generic logo or a generated one based on their email address.'); ?><br /> 239 239 240 240 <?php 241 241 $avatar_defaults = array( -
src/wp-admin/options-general.php
135 135 <p class="description"><?php _e('Enter the address here if you want your site homepage <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">to be different from the directory</a> you installed WordPress.'); ?></p></td> 136 136 </tr> 137 137 <tr> 138 <th scope="row"><label for="admin_email"><?php _e('E -mail Address') ?> </label></th>138 <th scope="row"><label for="admin_email"><?php _e('Email Address') ?> </label></th> 139 139 <td><input name="admin_email" type="email" id="admin_email" value="<?php form_option( 'admin_email' ); ?>" class="regular-text ltr" /> 140 140 <p class="description"><?php _e('This address is used for admin purposes, like new user notification.') ?></p></td> 141 141 </tr> … … 154 154 </tr> 155 155 <?php } else { ?> 156 156 <tr> 157 <th scope="row"><label for="new_admin_email"><?php _e('E -mail Address') ?> </label></th>157 <th scope="row"><label for="new_admin_email"><?php _e('Email Address') ?> </label></th> 158 158 <td><input name="new_admin_email" type="email" id="new_admin_email" value="<?php form_option( 'admin_email' ); ?>" class="regular-text ltr" /> 159 <p class="description"><?php _e('This address is used for admin purposes. If you change this we will send you an e -mail at your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>') ?></p>159 <p class="description"><?php _e('This address is used for admin purposes. If you change this we will send you an email at your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>') ?></p> 160 160 <?php 161 161 $new_admin_email = get_option( 'new_admin_email' ); 162 162 if ( $new_admin_email && $new_admin_email != get_option('admin_email') ) : ?> 163 163 <div class="updated inline"> 164 <p><?php printf( __('There is a pending change of the admin e -mail to <code>%1$s</code>. <a href="%2$s">Cancel</a>'), esc_html( $new_admin_email ), esc_url( admin_url( 'options.php?dismiss=new_admin_email' ) ) ); ?></p>164 <p><?php printf( __('There is a pending change of the admin email to <code>%1$s</code>. <a href="%2$s">Cancel</a>'), esc_html( $new_admin_email ), esc_url( admin_url( 'options.php?dismiss=new_admin_email' ) ) ); ?></p> 165 165 </div> 166 166 <?php endif; ?> 167 167 </td> -
src/wp-admin/options-writing.php
33 33 get_current_screen()->add_help_tab( array( 34 34 'id' => 'options-postemail', 35 35 'title' => __( 'Post Via Email' ), 36 'content' => '<p>' . __( 'Post via email settings allow you to send your WordPress install an email with the content of your post. You must set up a secret e -mail account with POP3 access to use this, and any mail received at this address will be posted, so it’s a good idea to keep this address very secret.' ) . '</p>',36 'content' => '<p>' . __( 'Post via email settings allow you to send your WordPress install an email with the content of your post. You must set up a secret email account with POP3 access to use this, and any mail received at this address will be posted, so it’s a good idea to keep this address very secret.' ) . '</p>', 37 37 ) ); 38 38 } 39 39 … … 127 127 /** This filter is documented in wp-admin/options.php */ 128 128 if ( apply_filters( 'enable_post_by_email_configuration', true ) ) { 129 129 ?> 130 <h3 class="title"><?php _e('Post via e -mail') ?></h3>131 <p><?php printf(__('To post to WordPress by e -mail you must set up a secret e-mail account with POP3 access. Any mail received at this address will be posted, so it’s a good idea to keep this address very secret. Here are three random strings you could use: <kbd>%s</kbd>, <kbd>%s</kbd>, <kbd>%s</kbd>.'), wp_generate_password(8, false), wp_generate_password(8, false), wp_generate_password(8, false)) ?></p>130 <h3 class="title"><?php _e('Post via email') ?></h3> 131 <p><?php printf(__('To post to WordPress by email you must set up a secret email account with POP3 access. Any mail received at this address will be posted, so it’s a good idea to keep this address very secret. Here are three random strings you could use: <kbd>%s</kbd>, <kbd>%s</kbd>, <kbd>%s</kbd>.'), wp_generate_password(8, false), wp_generate_password(8, false), wp_generate_password(8, false)) ?></p> 132 132 133 133 <table class="form-table"> 134 134 <tr> -
src/wp-admin/user-edit.php
407 407 408 408 <table class="form-table"> 409 409 <tr class="user-email-wrap"> 410 <th><label for="email"><?php _e('E -mail'); ?> <span class="description"><?php _e('(required)'); ?></span></label></th>410 <th><label for="email"><?php _e('Email'); ?> <span class="description"><?php _e('(required)'); ?></span></label></th> 411 411 <td><input type="email" name="email" id="email" value="<?php echo esc_attr( $profileuser->user_email ) ?>" class="regular-text ltr" /> 412 412 <?php 413 413 $new_email = get_option( $current_user->ID . '_new_email' ); 414 414 if ( $new_email && $new_email['newemail'] != $current_user->user_email && $profileuser->ID == $current_user->ID ) : ?> 415 415 <div class="updated inline"> 416 <p><?php printf( __('There is a pending change of your e -mail to <code>%1$s</code>. <a href="%2$s">Cancel</a>'), $new_email['newemail'], esc_url( self_admin_url( 'profile.php?dismiss=' . $current_user->ID . '_new_email' ) ) ); ?></p>416 <p><?php printf( __('There is a pending change of your email to <code>%1$s</code>. <a href="%2$s">Cancel</a>'), $new_email['newemail'], esc_url( self_admin_url( 'profile.php?dismiss=' . $current_user->ID . '_new_email' ) ) ); ?></p> 417 417 </div> 418 418 <?php endif; ?> 419 419 </td> -
src/wp-admin/user-new.php
272 272 echo '<h3 id="add-existing-user">' . __('Add Existing User') . '</h3>'; 273 273 if ( !is_super_admin() ) { 274 274 echo '<p>' . __( 'Enter the email address of an existing user on this network to invite them to this site. That person will be sent an email asking them to confirm the invite.' ) . '</p>'; 275 $label = __('E -mail');275 $label = __('Email'); 276 276 $type = 'email'; 277 277 } else { 278 278 echo '<p>' . __( 'Enter the email address or username of an existing user on this network to invite them to this site. That person will be sent an email asking them to confirm the invite.' ) . '</p>'; 279 $label = __('E -mail or Username');279 $label = __('Email or Username'); 280 280 $type = 'text'; 281 281 } 282 282 ?> … … 360 360 <td><input name="user_login" type="text" id="user_login" value="<?php echo esc_attr($new_user_login); ?>" aria-required="true" /></td> 361 361 </tr> 362 362 <tr class="form-field form-required"> 363 <th scope="row"><label for="email"><?php _e('E -mail'); ?> <span class="description"><?php _e('(required)'); ?></span></label></th>363 <th scope="row"><label for="email"><?php _e('Email'); ?> <span class="description"><?php _e('(required)'); ?></span></label></th> 364 364 <td><input name="email" type="email" id="email" value="<?php echo esc_attr( $new_user_email ); ?>" /></td> 365 365 </tr> 366 366 <?php if ( !is_multisite() ) { ?> -
src/wp-includes/pluggable.php
1402 1402 $notify_message = sprintf( __( 'New comment on your post "%s"' ), $post->post_title ) . "\r\n"; 1403 1403 /* translators: 1: comment author, 2: author IP, 3: author domain */ 1404 1404 $notify_message .= sprintf( __( 'Author: %1$s (IP: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 1405 $notify_message .= sprintf( __( 'E -mail: %s' ), $comment->comment_author_email ) . "\r\n";1405 $notify_message .= sprintf( __( 'Email: %s' ), $comment->comment_author_email ) . "\r\n"; 1406 1406 $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; 1407 1407 $notify_message .= sprintf( __( 'Whois: %s' ), "http://whois.arin.net/rest/ip/{$comment->comment_author_IP}" ) . "\r\n"; 1408 1408 $notify_message .= sprintf( __('Comment: %s' ), $comment->comment_content ) . "\r\n\r\n"; … … 1531 1531 $notify_message = sprintf( __('A new comment on the post "%s" is waiting for your approval'), $post->post_title ) . "\r\n"; 1532 1532 $notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; 1533 1533 $notify_message .= sprintf( __( 'Author: %1$s (IP: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 1534 $notify_message .= sprintf( __( 'E -mail: %s' ), $comment->comment_author_email ) . "\r\n";1534 $notify_message .= sprintf( __( 'Email: %s' ), $comment->comment_author_email ) . "\r\n"; 1535 1535 $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; 1536 1536 $notify_message .= sprintf( __( 'Whois: %s' ), "http://whois.arin.net/rest/ip/{$comment->comment_author_IP}" ) . "\r\n"; 1537 1537 $notify_message .= sprintf( __( 'Comment: %s' ), $comment->comment_content ) . "\r\n\r\n"; … … 1641 1641 1642 1642 $message = sprintf(__('New user registration on your site %s:'), $blogname) . "\r\n\r\n"; 1643 1643 $message .= sprintf(__('Username: %s'), $user->user_login) . "\r\n\r\n"; 1644 $message .= sprintf(__('E -mail: %s'), $user->user_email) . "\r\n";1644 $message .= sprintf(__('Email: %s'), $user->user_email) . "\r\n"; 1645 1645 1646 1646 @wp_mail(get_option('admin_email'), sprintf(__('[%s] New User Registration'), $blogname), $message); 1647 1647 -
src/wp-includes/theme-compat/comments-popup.php
63 63 64 64 <?php if ( comments_open() ) { ?> 65 65 <h2><?php _e('Leave a comment'); ?></h2> 66 <p><?php printf(__('Line and paragraph breaks automatic, e -mail address never displayed, <acronym title="Hypertext Markup Language">HTML</acronym> allowed: <code>%s</code>'), allowed_tags()); ?></p>66 <p><?php printf(__('Line and paragraph breaks automatic, email address never displayed, <acronym title="Hypertext Markup Language">HTML</acronym> allowed: <code>%s</code>'), allowed_tags()); ?></p> 67 67 68 68 <form action="<?php echo site_url(); ?>/wp-comments-post.php" method="post" id="commentform"> 69 69 <?php if ( $user_ID ) : ?> … … 76 76 77 77 <p> 78 78 <input type="text" name="email" id="email" value="<?php echo esc_attr( $commenter['comment_author_email'] ); ?>" size="28" tabindex="2" /> 79 <label for="email"><?php _e('E -mail'); ?></label>79 <label for="email"><?php _e('Email'); ?></label> 80 80 </p> 81 81 82 82 <p> -
src/wp-includes/user.php
2236 2236 $errors->add( 'username_exists', __( '<strong>ERROR</strong>: This username is already registered. Please choose another one.' ) ); 2237 2237 } 2238 2238 2239 // Check the e -mail address2239 // Check the email address 2240 2240 if ( $user_email == '' ) { 2241 $errors->add( 'empty_email', __( '<strong>ERROR</strong>: Please type your e -mail address.' ) );2241 $errors->add( 'empty_email', __( '<strong>ERROR</strong>: Please type your email address.' ) ); 2242 2242 } elseif ( ! is_email( $user_email ) ) { 2243 2243 $errors->add( 'invalid_email', __( '<strong>ERROR</strong>: The email address isn’t correct.' ) ); 2244 2244 $user_email = ''; -
src/wp-login.php
275 275 $errors = new WP_Error(); 276 276 277 277 if ( empty( $_POST['user_login'] ) ) { 278 $errors->add('empty_username', __('<strong>ERROR</strong>: Enter a username or e -mail address.'));278 $errors->add('empty_username', __('<strong>ERROR</strong>: Enter a username or email address.')); 279 279 } elseif ( strpos( $_POST['user_login'], '@' ) ) { 280 280 $user_data = get_user_by( 'email', trim( $_POST['user_login'] ) ); 281 281 if ( empty( $user_data ) ) … … 296 296 return $errors; 297 297 298 298 if ( !$user_data ) { 299 $errors->add('invalidcombo', __('<strong>ERROR</strong>: Invalid username or e -mail.'));299 $errors->add('invalidcombo', __('<strong>ERROR</strong>: Invalid username or email.')); 300 300 return $errors; 301 301 } 302 302 … … 401 401 $message = apply_filters( 'retrieve_password_message', $message, $key, $user_login, $user_data ); 402 402 403 403 if ( $message && !wp_mail( $user_email, wp_specialchars_decode( $title ), $message ) ) 404 wp_die( __('The e -mail could not be sent.') . "<br />\n" . __('Possible reason: your host may have disabled the mail() function.') );404 wp_die( __('The email could not be sent.') . "<br />\n" . __('Possible reason: your host may have disabled the mail() function.') ); 405 405 406 406 return true; 407 407 } … … 534 534 535 535 <form name="lostpasswordform" id="lostpasswordform" action="<?php echo esc_url( network_site_url( 'wp-login.php?action=lostpassword', 'login_post' ) ); ?>" method="post"> 536 536 <p> 537 <label for="user_login" ><?php _e('Username or E -mail:') ?><br />537 <label for="user_login" ><?php _e('Username or Email:') ?><br /> 538 538 <input type="text" name="user_login" id="user_login" class="input" value="<?php echo esc_attr($user_login); ?>" size="20" /></label> 539 539 </p> 540 540 <?php … … 718 718 <input type="text" name="user_login" id="user_login" class="input" value="<?php echo esc_attr(wp_unslash($user_login)); ?>" size="20" /></label> 719 719 </p> 720 720 <p> 721 <label for="user_email"><?php _e('E -mail') ?><br />721 <label for="user_email"><?php _e('Email') ?><br /> 722 722 <input type="email" name="user_email" id="user_email" class="input" value="<?php echo esc_attr( wp_unslash( $user_email ) ); ?>" size="25" /></label> 723 723 </p> 724 724 <?php 725 725 /** 726 * Fires following the 'E -mail' field in the user registration form.726 * Fires following the 'Email' field in the user registration form. 727 727 * 728 728 * @since 2.1.0 729 729 */ 730 730 do_action( 'register_form' ); 731 731 ?> 732 <p id="reg_passmail"><?php _e('A password will be e -mailed to you.') ?></p>732 <p id="reg_passmail"><?php _e('A password will be emailed to you.') ?></p> 733 733 <br class="clear" /> 734 734 <input type="hidden" name="redirect_to" value="<?php echo esc_attr( $redirect_to ); ?>" /> 735 735 <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" class="button button-primary button-large" value="<?php esc_attr_e('Register'); ?>" /></p> … … 842 842 elseif ( isset($_GET['registration']) && 'disabled' == $_GET['registration'] ) 843 843 $errors->add('registerdisabled', __('User registration is currently not allowed.')); 844 844 elseif ( isset($_GET['checkemail']) && 'confirm' == $_GET['checkemail'] ) 845 $errors->add('confirm', __('Check your e -mail for the confirmation link.'), 'message');845 $errors->add('confirm', __('Check your email for the confirmation link.'), 'message'); 846 846 elseif ( isset($_GET['checkemail']) && 'newpass' == $_GET['checkemail'] ) 847 $errors->add('newpass', __('Check your e -mail for your new password.'), 'message');847 $errors->add('newpass', __('Check your email for your new password.'), 'message'); 848 848 elseif ( isset($_GET['checkemail']) && 'registered' == $_GET['checkemail'] ) 849 $errors->add('registered', __('Registration complete. Please check your e -mail.'), 'message');849 $errors->add('registered', __('Registration complete. Please check your email.'), 'message'); 850 850 elseif ( strpos( $redirect_to, 'about.php?updated' ) ) 851 851 $errors->add('updated', __( '<strong>You have successfully updated WordPress!</strong> Please log back in to see what’s new.' ), 'message' ); 852 852 }