Changeset 29205
- Timestamp:
- 07/17/2014 09:11:46 AM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-login.php
r29030 r29205 70 70 wp_admin_css( 'login', true ); 71 71 72 // Remove all stored post data on logging out. 73 // This could be added by add_action('login_head'...) like wp_shake_js() 74 // but maybe better if it's not removable by plugins 72 /* 73 * Remove all stored post data on logging out. 74 * This could be added by add_action('login_head'...) like wp_shake_js(), 75 * but maybe better if it's not removable by plugins 76 */ 75 77 if ( 'loggedout' == $wp_error->get_error_code() ) { 76 78 ?> … … 297 299 } 298 300 299 // redefining user_login ensures we return the right case in the email301 // Redefining user_login ensures we return the right case in the email. 300 302 $user_login = $user_data->user_login; 301 303 $user_email = $user_data->user_email; … … 310 312 */ 311 313 do_action( 'retreive_password', $user_login ); 314 312 315 /** 313 316 * Fires before a new password is retrieved. … … 365 368 $blogname = $GLOBALS['current_site']->site_name; 366 369 else 367 // The blogname option is escaped with esc_html on the way into the database in sanitize_option 368 // we want to reverse this for the plain text arena of emails. 370 /* 371 * The blogname option is escaped with esc_html on the way into the database 372 * in sanitize_option we want to reverse this for the plain text arena of emails. 373 */ 369 374 $blogname = wp_specialchars_decode(get_option('blogname'), ENT_QUOTES); 370 375 -
trunk/src/wp-mail.php
r26129 r29205 69 69 $dmonths = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'); 70 70 foreach ($message as $line) { 71 // body signal71 // Body signal. 72 72 if ( strlen($line) < 3 ) 73 73 $bodysignal = true; … … 109 109 } 110 110 111 // Set the author using the email address (From or Reply-To, the last used) 112 // otherwise use the site admin 111 /* 112 * Set the author using the email address (From or Reply-To, the last used) 113 * otherwise use the site admin. 114 */ 113 115 if ( ! $author_found && preg_match( '/^(From|Reply-To): /', $line ) ) { 114 116 if ( preg_match('|[a-z0-9_.-]+@[a-z0-9_.-]+(?!.*<)|i', $line, $matches) ) … … 172 174 $content = explode('--'.$boundary, $content); 173 175 $content = $content[2]; 174 // match case-insensitive content-transfer-encoding 176 177 // Match case-insensitive content-transfer-encoding. 175 178 if ( preg_match( '/Content-Transfer-Encoding: quoted-printable/i', $content, $delim) ) { 176 179 $content = explode($delim[0], $content); -
trunk/src/wp-signup.php
r29030 r29205 317 317 $result = validate_blog_form(); 318 318 319 // extracted values set/overwrite globals319 // Extracted values set/overwrite globals. 320 320 $domain = $result['domain']; 321 321 $path = $result['path'];
Note: See TracChangeset
for help on using the changeset viewer.