Ticket #36188: 36188.2.diff
File 36188.2.diff, 934 bytes (added by , 9 years ago) |
---|
-
wp-admin/includes/upgrade.php
90 90 91 91 wp_install_maybe_enable_pretty_permalinks(); 92 92 93 flush_rewrite_rules();94 95 93 wp_new_blog_notification($blog_title, $guessurl, $user_id, ($email_password ? $user_password : __('The password you chose during the install.') ) ); 96 94 97 95 wp_cache_flush(); … … 105 103 */ 106 104 do_action( 'wp_install', $user ); 107 105 106 /** 107 * Fire the init action then flush rewrite rules. Ensures 108 * settings are fully loaded before the next page load. 109 * 110 * @since 4.6.0 111 */ 112 113 /** This filter is documented in wp-settings.php */ 114 do_action( 'init' ); 115 116 flush_rewrite_rules(); 117 108 118 return array('url' => $guessurl, 'user_id' => $user_id, 'password' => $user_password, 'password_message' => $message); 109 119 } 110 120 endif;