Changeset 9596 for trunk/wp-admin/install.php
- Timestamp:
- 11/10/2008 06:54:18 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/install.php
r8645 r9596 90 90 display_header(); 91 91 // Fill in the data we gathered 92 $weblog_title = stripslashes($_POST['weblog_title']);93 $admin_email = stripslashes($_POST['admin_email']);94 $public = (int) $_POST['blog_public'];92 $weblog_title = isset($_POST['weblog_title']) ? stripslashes($_POST['weblog_title']) : ''; 93 $admin_email = isset($_POST['admin_email']) ? stripslashes($_POST['admin_email']) : ''; 94 $public = isset($_POST['blog_public']) ? (int) $_POST['blog_public'] : 0; 95 95 // check e-mail address 96 96 if (empty($admin_email)) {
Note: See TracChangeset
for help on using the changeset viewer.