Changeset 7065
- Timestamp:
- 02/27/2008 06:45:40 PM (17 years ago)
- Location:
- trunk/wp-admin/import
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import/mt.php
r6943 r7065 62 62 global $wpdb; 63 63 //mtnames is an array with the names in the mt import file 64 $pass = 'changeme';64 $pass = wp_generate_password(); 65 65 if (!(in_array($author, $this->mtnames))) { //a new mt author name is found 66 66 ++ $this->j; … … 154 154 <p><?php _e('To make it easier for you to edit and save the imported posts and drafts, you may want to change the name of the author of the posts. For example, you may want to import all the entries as admin\'s entries.'); ?></p> 155 155 <p><?php _e('Below, you can see the names of the authors of the MovableType posts in <i>italics</i>. For each of these names, you can either pick an author in your WordPress installation from the menu, or enter a name for the author in the textbox.'); ?></p> 156 <p><?php _e('If a new user is created by WordPress, the password will be set, by default, to "changeme". Quite suggestive, eh? ;)'); ?></p>156 <p><?php _e('If a new user is created by WordPress, a password will be randomly generated. Manually change the user\'s details if necessary.'); ?></p> 157 157 <?php 158 158 -
trunk/wp-admin/import/wordpress.php
r6870 r7065 162 162 $user_id = username_exists($new_author_name); 163 163 if ( !$user_id ) { 164 $user_id = wp_create_user($new_author_name, 'changeme');164 $user_id = wp_create_user($new_author_name, wp_generate_password()); 165 165 } 166 166 … … 182 182 <?php 183 183 if ( $this->allow_create_users() ) { 184 echo '<p>'.__('If a new user is created by WordPress, the password will be set, by default, to "changeme". Quite suggestive, eh? ;)')."</p>\n";184 echo '<p>'.__('If a new user is created by WordPress, a password will be randomly generated. Manually change the user\'s details if necessary.')."</p>\n"; 185 185 } 186 186
Note: See TracChangeset
for help on using the changeset viewer.