Make WordPress Core

Ticket #10483: 10483.diff

File 10483.diff, 996 bytes (added by mcmwebsol, 4 years ago)

Refreshed patch against trunk

  • src/wp-admin/includes/schema.php

     
    6464) $charset_collate;
    6565CREATE TABLE $wpdb->terms (
    6666 term_id bigint(20) unsigned NOT NULL auto_increment,
    67  name varchar(200) NOT NULL default '',
     67 name varchar(400) NOT NULL default '',
    6868 slug varchar(200) NOT NULL default '',
    6969 term_group bigint(10) NOT NULL default 0,
    7070 PRIMARY KEY  (term_id),
  • src/wp-includes/formatting.php

     
    22362236                if ( function_exists( 'mb_strtolower' ) ) {
    22372237                        $title = mb_strtolower( $title, 'UTF-8' );
    22382238                }
    2239                 $title = utf8_uri_encode( $title, 200 );
     2239                $title = utf8_uri_encode( $title, 400 );
    22402240        }
    22412241
    22422242        $title = strtolower( $title );