Make WordPress Core

Ticket #787: 787.diff

File 787.diff, 1.5 KB (added by rob1n, 17 years ago)
  • wp-admin/upgrade-schema.php

     
    4444  KEY comment_post_ID (comment_post_ID)
    4545) $charset_collate;
    4646CREATE TABLE $wpdb->link2cat (
    47   rel_id bigint(20) NOT NULL auto_increment,
    4847  link_id bigint(20) NOT NULL default '0',
    4948  category_id bigint(20) NOT NULL default '0',
    50   PRIMARY KEY  (rel_id),
    51   KEY link_id (link_id,category_id)
     49  PRIMARY KEY (link_id, category_id)
    5250) $charset_collate;
    5351CREATE TABLE $wpdb->links (
    5452  link_id bigint(20) NOT NULL auto_increment,
     
    8583  KEY option_name (option_name)
    8684) $charset_collate;
    8785CREATE TABLE $wpdb->post2cat (
    88   rel_id bigint(20) NOT NULL auto_increment,
    8986  post_id bigint(20) NOT NULL default '0',
    9087  category_id bigint(20) NOT NULL default '0',
    91   PRIMARY KEY  (rel_id),
    92   KEY post_id (post_id,category_id)
     88  PRIMARY KEY (post_id, category_id)
    9389) $charset_collate;
    9490CREATE TABLE $wpdb->postmeta (
    9591  meta_id bigint(20) NOT NULL auto_increment,
  • wp-includes/version.php

     
    33// This holds the version number in a separate file so we can bump it without cluttering the SVN
    44
    55$wp_version = '2.2-bleeding';
    6 $wp_db_version = 4860;
     6$wp_db_version = 4861;
    77
    8 ?>
     8?>
     9 No newline at end of file