WordPress.org

Make WordPress Core

Ticket #24501: install.diff

File install.diff, 538 bytes (added by bftrick, 2 years ago)
  • wp-admin/install.php

     
    8383        $blog_public = 1; 
    8484        if ( ! empty( $_POST ) ) 
    8585                $blog_public = isset( $_POST['blog_public'] ); 
     86        elseif ( WP_DEBUG ) 
     87                $blog_public = 0; 
    8688 
    8789        $weblog_title = isset( $_POST['weblog_title'] ) ? trim( wp_unslash( $_POST['weblog_title'] ) ) : ''; 
    8890        $user_name = isset($_POST['user_name']) ? trim( wp_unslash( $_POST['user_name'] ) ) : 'admin';