WordPress.org

Make WordPress Core

Ticket #4002: upgrade-schema-php.diff

File upgrade-schema-php.diff, 641 bytes (added by jhodgdon, 8 years ago)

Patch to change the category title field to 200 characters

  • E:/EclipseWork/WordPressDev/wp-admin/upgrade-schema.php

     
    1212 
    1313$wp_queries="CREATE TABLE $wpdb->categories ( 
    1414  cat_ID bigint(20) NOT NULL auto_increment, 
    15   cat_name varchar(55) NOT NULL default '', 
     15  cat_name varchar(200) NOT NULL default '', 
    1616  category_nicename varchar(200) NOT NULL default '', 
    1717  category_description longtext NOT NULL, 
    1818  category_parent bigint(20) NOT NULL default '0',