WordPress.org

Make WordPress Core

Ticket #7157: wp-admin--includes--upgrade.php.diff

File wp-admin--includes--upgrade.php.diff, 798 bytes (added by josephscott, 12 years ago)
  • wp-admin/includes/upgrade.php

     
    66require_once(ABSPATH . 'wp-admin/includes/schema.php');
    77
    88if ( !function_exists('wp_install') ) :
    9 function wp_install($blog_title, $user_name, $user_email, $public, $remote) {
     9function wp_install($blog_title, $user_name, $user_email, $public, $deprecated='') {
    1010        global $wp_rewrite;
    1111
    1212        wp_check_mysql_version();
     
    1818        update_option('blogname', $blog_title);
    1919        update_option('admin_email', $user_email);
    2020        update_option('blog_public', $public);
    21         update_option('enable_app',$remote);
    22         update_option('enable_xmlrpc',$remote);
    2321
    2422        $guessurl = wp_guess_url();
    2523