mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Notice fixes from DD32. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@9596 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -89,9 +89,9 @@ switch($step) {
|
||||
|
||||
display_header();
|
||||
// Fill in the data we gathered
|
||||
$weblog_title = stripslashes($_POST['weblog_title']);
|
||||
$admin_email = stripslashes($_POST['admin_email']);
|
||||
$public = (int) $_POST['blog_public'];
|
||||
$weblog_title = isset($_POST['weblog_title']) ? stripslashes($_POST['weblog_title']) : '';
|
||||
$admin_email = isset($_POST['admin_email']) ? stripslashes($_POST['admin_email']) : '';
|
||||
$public = isset($_POST['blog_public']) ? (int) $_POST['blog_public'] : 0;
|
||||
// check e-mail address
|
||||
if (empty($admin_email)) {
|
||||
// TODO: poka-yoke
|
||||
|
||||
Reference in New Issue
Block a user