Changeset 3173
- Timestamp:
- 11/20/2005 07:40:17 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/install.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/install.php
r3133 r3173 120 120 121 121 // Fill in the data we gathered 122 $weblog_title = $_POST['weblog_title'];123 $admin_email = $_POST['admin_email'];122 $weblog_title = stripslashes($_POST['weblog_title']); 123 $admin_email = stripslashes($_POST['admin_email']); 124 124 // check e-mail address 125 125 if (empty($admin_email)) { … … 182 182 $wpdb->query("INSERT INTO $wpdb->usermeta (user_id, meta_key, meta_value) VALUES ({$wpdb->insert_id}, '{$table_prefix}capabilities', '{$admin_caps}');"); 183 183 184 $message_headers = 'From: ' . stripslashes($_POST['weblog_title']). ' <wordpress@' . $_SERVER['SERVER_NAME'] . '>';184 $message_headers = 'From: ' . $weblog_title . ' <wordpress@' . $_SERVER['SERVER_NAME'] . '>'; 185 185 $message = sprintf(__("Your new WordPress blog has been successfully set up at: 186 186
Note: See TracChangeset
for help on using the changeset viewer.