WordPress.org

Make WordPress Core

Ticket #3729: wp_schema_big_catname.diff

File wp_schema_big_catname.diff, 936 bytes (added by charleshooper, 11 years ago)

Sets wp_categories.cat_name to varchar(200) and bumps db version

  • 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.1.1-alpha';
    6 $wp_db_version = 4772;
     6$wp_db_version = 4773;
    77
    88?>
  • wp-admin/upgrade-schema.php

     
    33
    44$wp_queries="CREATE TABLE $wpdb->categories (
    55  cat_ID bigint(20) NOT NULL auto_increment,
    6   cat_name varchar(55) NOT NULL default '',
     6  cat_name varchar(200) NOT NULL default '',
    77  category_nicename varchar(200) NOT NULL default '',
    88  category_description longtext NOT NULL,
    99  category_parent bigint(20) NOT NULL default '0',