wp/wp-admin/includes/schema.php
changeset 22 8c2e4d02f4ef
parent 21 48c4eec2b7e6
equal deleted inserted replaced
21:48c4eec2b7e6 22:8c2e4d02f4ef
   422 		'comments_notify'                 => 1,
   422 		'comments_notify'                 => 1,
   423 		'posts_per_rss'                   => 10,
   423 		'posts_per_rss'                   => 10,
   424 		'rss_use_excerpt'                 => 0,
   424 		'rss_use_excerpt'                 => 0,
   425 		'mailserver_url'                  => 'mail.example.com',
   425 		'mailserver_url'                  => 'mail.example.com',
   426 		'mailserver_login'                => 'login@example.com',
   426 		'mailserver_login'                => 'login@example.com',
   427 		'mailserver_pass'                 => 'password',
   427 		'mailserver_pass'                 => '',
   428 		'mailserver_port'                 => 110,
   428 		'mailserver_port'                 => 110,
   429 		'default_category'                => 1,
   429 		'default_category'                => 1,
   430 		'default_comment_status'          => 'open',
   430 		'default_comment_status'          => 'open',
   431 		'default_ping_status'             => 'open',
   431 		'default_ping_status'             => 'open',
   432 		'default_pingback_flag'           => 1,
   432 		'default_pingback_flag'           => 1,
   444 		'hack_file'                       => 0,
   444 		'hack_file'                       => 0,
   445 		'blog_charset'                    => 'UTF-8',
   445 		'blog_charset'                    => 'UTF-8',
   446 		'moderation_keys'                 => '',
   446 		'moderation_keys'                 => '',
   447 		'active_plugins'                  => array(),
   447 		'active_plugins'                  => array(),
   448 		'category_base'                   => '',
   448 		'category_base'                   => '',
   449 		'ping_sites'                      => 'http://rpc.pingomatic.com/',
   449 		'ping_sites'                      => 'https://rpc.pingomatic.com/',
   450 		'comment_max_links'               => 2,
   450 		'comment_max_links'               => 2,
   451 		'gmt_offset'                      => $gmt_offset,
   451 		'gmt_offset'                      => $gmt_offset,
   452 
   452 
   453 		// 1.5.0
   453 		// 1.5.0
   454 		'default_email_category'          => 1,
   454 		'default_email_category'          => 1,
  1045 			'site_name'         => $site_name,
  1045 			'site_name'         => $site_name,
  1046 			'subdomain_install' => $subdomain_install,
  1046 			'subdomain_install' => $subdomain_install,
  1047 		)
  1047 		)
  1048 	);
  1048 	);
  1049 
  1049 
       
  1050 	// Remove the cron event since Recovery Mode is not used in Multisite.
       
  1051 	if ( wp_next_scheduled( 'recovery_mode_clean_expired_keys' ) ) {
       
  1052 		wp_clear_scheduled_hook( 'recovery_mode_clean_expired_keys' );
       
  1053 	}
       
  1054 
  1050 	/*
  1055 	/*
  1051 	 * When upgrading from single to multisite, assume the current site will
  1056 	 * When upgrading from single to multisite, assume the current site will
  1052 	 * become the main site of the network. When using populate_network()
  1057 	 * become the main site of the network. When using populate_network()
  1053 	 * to create another network in an existing multisite environment, skip
  1058 	 * to create another network in an existing multisite environment, skip
  1054 	 * these steps since the main site of the new network has not yet been
  1059 	 * these steps since the main site of the new network has not yet been