WordPress.org

Make WordPress Core

Ticket #10483: post_name_patch.diff

File post_name_patch.diff, 1.1 KB (added by elnur, 9 years ago)
  • wordpress-dev/wp-includes/formatting.php

     
    692692                if (function_exists('mb_strtolower')) {
    693693                        $title = mb_strtolower($title, 'UTF-8');
    694694                }
    695                 $title = utf8_uri_encode($title, 200);
     695                $title = utf8_uri_encode($title, 400);
    696696        }
    697697
    698698        $title = strtolower($title);
  • wordpress-dev/wp-admin/includes/schema.php

     
    123123  comment_status varchar(20) NOT NULL default 'open',
    124124  ping_status varchar(20) NOT NULL default 'open',
    125125  post_password varchar(20) NOT NULL default '',
    126   post_name varchar(200) NOT NULL default '',
     126  post_name varchar(400) NOT NULL default '',
    127127  to_ping text NOT NULL,
    128128  pinged text NOT NULL,
    129129  post_modified datetime NOT NULL default '0000-00-00 00:00:00',