]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/includes/schema.php
WordPress 4.7-scripts
[autoinstalls/wordpress.git] / wp-admin / includes / schema.php
index 83ba531794a4fc3e878d9f6062499ba9890209de..cd66e1924b5adc066f5eaefa53aafda94aa71c48 100644 (file)
@@ -165,7 +165,7 @@ CREATE TABLE $wpdb->posts (
   post_status varchar(20) NOT NULL default 'publish',
   comment_status varchar(20) NOT NULL default 'open',
   ping_status varchar(20) NOT NULL default 'open',
-  post_password varchar(20) NOT NULL default '',
+  post_password varchar(255) NOT NULL default '',
   post_name varchar(200) NOT NULL default '',
   to_ping text NOT NULL,
   pinged text NOT NULL,
@@ -527,7 +527,7 @@ function populate_options() {
        // 3.0 multisite
        if ( is_multisite() ) {
                /* translators: site tagline */
-               $options[ 'blogdescription' ] = sprintf(__('Just another %s site'), get_current_site()->site_name );
+               $options[ 'blogdescription' ] = sprintf(__('Just another %s site'), get_network()->site_name );
                $options[ 'permalink_structure' ] = '/%year%/%monthnum%/%day%/%postname%/';
        }