Changeset 28774 for trunk/src/wp-admin/includes/upgrade.php
- Timestamp:
- 06/18/2014 07:57:21 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/upgrade.php
r28712 r28774 33 33 * @param null $deprecated Optional. Not used. 34 34 * @param string $user_password Optional. User's chosen password. Will default to a random password. 35 * @param string $language Optional. Language chosen. 35 36 * @return array Array keys 'url', 'user_id', 'password', 'password_message'. 36 37 */ 37 function wp_install( $blog_title, $user_name, $user_email, $public, $deprecated = '', $user_password = '' ) {38 function wp_install( $blog_title, $user_name, $user_email, $public, $deprecated = '', $user_password = '', $language = '' ) { 38 39 if ( !empty( $deprecated ) ) 39 40 _deprecated_argument( __FUNCTION__, '2.6' ); … … 48 49 update_option('admin_email', $user_email); 49 50 update_option('blog_public', $public); 51 52 if ( $language ) { 53 update_option( 'WPLANG', $language ); 54 } 50 55 51 56 $guessurl = wp_guess_url();
Note: See TracChangeset
for help on using the changeset viewer.