Make WordPress Core

Ticket #10483: 10483_corrected.diff

File 10483_corrected.diff, 1.0 KB (added by mcmwebsol, 6 months ago)

Refreshed patch against trunk - Corrected

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

     
    168168        comment_status varchar(20) NOT NULL default 'open',
    169169        ping_status varchar(20) NOT NULL default 'open',
    170170        post_password varchar(255) NOT NULL default '',
    171         post_name varchar(200) NOT NULL default '',
     171        post_name varchar(400) NOT NULL default '',
    172172        to_ping text NOT NULL,
    173173        pinged text NOT NULL,
    174174        post_modified datetime NOT NULL default '0000-00-00 00:00:00',
  • 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 );