Make WordPress Core


Ignore:
Timestamp:
11/10/2008 06:54:18 PM (16 years ago)
Author:
ryan
Message:

Notice fixes from DD32. see #7509

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/install.php

    r8645 r9596  
    9090        display_header();
    9191        // 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;
    9595        // check e-mail address
    9696        if (empty($admin_email)) {
Note: See TracChangeset for help on using the changeset viewer.