wp/wp-admin/includes/schema.php
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 19 3d72ae0968f4
equal deleted inserted replaced
17:34716fd837a4 18:be944660c56a
   420 		'default_category'                => 1,
   420 		'default_category'                => 1,
   421 		'default_comment_status'          => 'open',
   421 		'default_comment_status'          => 'open',
   422 		'default_ping_status'             => 'open',
   422 		'default_ping_status'             => 'open',
   423 		'default_pingback_flag'           => 1,
   423 		'default_pingback_flag'           => 1,
   424 		'posts_per_page'                  => 10,
   424 		'posts_per_page'                  => 10,
   425 		/* translators: Default date format, see https://www.php.net/date */
   425 		/* translators: Default date format, see https://www.php.net/manual/datetime.format.php */
   426 		'date_format'                     => __( 'F j, Y' ),
   426 		'date_format'                     => __( 'F j, Y' ),
   427 		/* translators: Default time format, see https://www.php.net/date */
   427 		/* translators: Default time format, see https://www.php.net/manual/datetime.format.php */
   428 		'time_format'                     => __( 'g:i a' ),
   428 		'time_format'                     => __( 'g:i a' ),
   429 		/* translators: Links last updated date format, see https://www.php.net/date */
   429 		/* translators: Links last updated date format, see https://www.php.net/manual/datetime.format.php */
   430 		'links_updated_date_format'       => __( 'F j, Y g:i a' ),
   430 		'links_updated_date_format'       => __( 'F j, Y g:i a' ),
   431 		'comment_moderation'              => 0,
   431 		'comment_moderation'              => 0,
   432 		'moderation_notify'               => 1,
   432 		'moderation_notify'               => 1,
   433 		'permalink_structure'             => '',
   433 		'permalink_structure'             => '',
   434 		'rewrite_rules'                   => '',
   434 		'rewrite_rules'                   => '',
   533 
   533 
   534 		// 5.5.0
   534 		// 5.5.0
   535 		'disallowed_keys'                 => '',
   535 		'disallowed_keys'                 => '',
   536 		'comment_previously_approved'     => 1,
   536 		'comment_previously_approved'     => 1,
   537 		'auto_plugin_theme_update_emails' => array(),
   537 		'auto_plugin_theme_update_emails' => array(),
       
   538 
       
   539 		// 5.6.0
       
   540 		'auto_update_core_dev'            => 'enabled',
       
   541 		'auto_update_core_minor'          => 'enabled',
       
   542 		// Default to enabled for new installs.
       
   543 		// See https://core.trac.wordpress.org/ticket/51742.
       
   544 		'auto_update_core_major'          => 'enabled',
       
   545 
       
   546 		// 5.8.0
       
   547 		'wp_force_deactivated_plugins'    => array(),
   538 	);
   548 	);
   539 
   549 
   540 	// 3.3.0
   550 	// 3.3.0
   541 	if ( ! is_multisite() ) {
   551 	if ( ! is_multisite() ) {
   542 		$defaults['initial_db_version'] = ! empty( $wp_current_db_version ) && $wp_current_db_version < $wp_db_version
   552 		$defaults['initial_db_version'] = ! empty( $wp_current_db_version ) && $wp_current_db_version < $wp_db_version
  1206 		// Images.
  1216 		// Images.
  1207 		'jpg',
  1217 		'jpg',
  1208 		'jpeg',
  1218 		'jpeg',
  1209 		'png',
  1219 		'png',
  1210 		'gif',
  1220 		'gif',
       
  1221 		'webp',
  1211 		// Video.
  1222 		// Video.
  1212 		'mov',
  1223 		'mov',
  1213 		'avi',
  1224 		'avi',
  1214 		'mpg',
  1225 		'mpg',
  1215 		'3gp',
  1226 		'3gp',