[wp-trac] [WordPress Trac] #10483: Change post_name's length from 200 to 400

WordPress Trac wp-trac at lists.automattic.com
Sat Jul 25 06:31:52 UTC 2009


#10483: Change post_name's length from 200 to 400
-------------------------+--------------------------------------------------
 Reporter:  elnur        |       Owner:       
     Type:  enhancement  |      Status:  new  
 Priority:  normal       |   Milestone:  2.8.3
Component:  General      |     Version:       
 Severity:  normal       |    Keywords:       
-------------------------+--------------------------------------------------
 Hello, guys! Thank you very much for providing such a great piece of
 software! I love WordPress very much! :)

 I use WordPress in Russian language and the URLs on my
 [http://www.ielnur.com blog] consist of Russian characters. There is a
 [http://www.ielnur.com/blog/2009/05/снова-бросить-курить-30-тидневное-испытание/
 post] with not such a long URL in Russian, but since it gets encoded to
 special characters it becomes too long to get fit into `post_name` field
 of `post` table.

 I've found what code needs to be changed to increase the length. I make
 these changes every time a new version is released. I think it would be
 better to submit a patch here so that others people can benefit from it
 and I will not need to make those changes every release.

 I'm attaching the patch to this ticket and asking you to apply it to the
 code.

 Thank you very much again, guys! You do a great job! :)

 Cheers,
 Elnur

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10483>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list