WordPress.org

Make WordPress Core

Ticket #14711: comment-indexes-r15542-alt.patch

File comment-indexes-r15542-alt.patch, 974 bytes (added by tellyworth, 8 years ago)

alternate patch with the comment_author_index size limited to 10 characters

  • wp-includes/version.php

     
    1515 *
    1616 * @global int $wp_db_version
    1717 */
    18 $wp_db_version = 15477;
     18$wp_db_version = 15543;
    1919
    2020/**
    2121 * Holds the TinyMCE version
  • wp-admin/includes/schema.php

     
    8282  KEY comment_post_ID (comment_post_ID),
    8383  KEY comment_approved_date_gmt (comment_approved,comment_date_gmt),
    8484  KEY comment_date_gmt (comment_date_gmt),
    85   KEY comment_parent (comment_parent)
     85  KEY comment_parent (comment_parent),
     86  KEY user_id (user_id),
     87  KEY comment_author_email (comment_author_email(10))
    8688) $charset_collate;
    8789CREATE TABLE $wpdb->links (
    8890  link_id bigint(20) unsigned NOT NULL auto_increment,