WordPress.org

Make WordPress Core

Ticket #5161: 5161.diff

File 5161.diff, 1.8 KB (added by pento, 5 years ago)
  • src/wp-admin/includes/schema.php

     
    381381        'admin_email' => 'you@example.com',
    382382        /* translators: default start of the week. 0 = Sunday, 1 = Monday */
    383383        'start_of_week' => _x( '1', 'start of week' ),
    384         'use_balanceTags' => 0,
     384        'use_balanceTags' => 1,
    385385        'use_smilies' => 1,
    386386        'require_name_email' => 1,
    387387        'comments_notify' => 1,
  • src/wp-admin/options-writing.php

     
    5656<?php settings_fields('writing'); ?>
    5757
    5858<table class="form-table">
     59<?php if ( get_site_option( 'initial_db_version' ) < 32453 ) : ?>
    5960<tr>
    6061<th scope="row"><?php _e('Formatting') ?></th>
    6162<td><fieldset><legend class="screen-reader-text"><span><?php _e('Formatting') ?></span></legend>
     
    6566<label for="use_balanceTags"><input name="use_balanceTags" type="checkbox" id="use_balanceTags" value="1" <?php checked('1', get_option('use_balanceTags')); ?> /> <?php _e('WordPress should correct invalidly nested XHTML automatically') ?></label>
    6667</fieldset></td>
    6768</tr>
     69<?php endif; ?>
    6870<tr>
    6971<th scope="row"><label for="default_category"><?php _e('Default Post Category') ?></label></th>
    7072<td>
  • src/wp-includes/version.php

     
    1111 *
    1212 * @global int $wp_db_version
    1313 */
    14 $wp_db_version = 32378;
     14$wp_db_version = 32453;
    1515
    1616/**
    1717 * Holds the TinyMCE version