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

WordPress Trac noreply at wordpress.org
Sat Aug 13 03:11:14 UTC 2016


#10483: Change post_name's length from 200 to 400
--------------------------------------------+-----------------------------
 Reporter:  elnur                           |       Owner:  SergeyBiryukov
     Type:  enhancement                     |      Status:  reviewing
 Priority:  normal                          |   Milestone:  4.7
Component:  Permalinks                      |     Version:
 Severity:  minor                           |  Resolution:
 Keywords:  dev-feedback needs-patch early  |     Focuses:
--------------------------------------------+-----------------------------

Comment (by dd32):

 It's also worth remembering that we're limited by the 767-byte index
 limits, so `post_name` can only ever be indexed by the first 767bytes /
 4bytes in utf8mb4 = 191 characters, so for encoded character urls, only by
 the first 31 characters if they're stored encoded in the database.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/10483#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list