[wp-trac] [WordPress Trac] #21013: Badly truncated slugs in posts with similar, long non-latin titles

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 1 14:53:50 UTC 2012


#21013: Badly truncated slugs in posts with similar, long non-latin titles
-----------------------------+------------------
 Reporter:  nevma            |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  3.5
Component:  Permalinks       |     Version:  3.4
 Severity:  normal           |  Resolution:
 Keywords:  has-patch early  |
-----------------------------+------------------

Comment (by SergeyBiryukov):

 [attachment:21013.9.patch] adds a `urldecode( $slug ) === $slug` check to
 see if we could get away with `substr()` (as per
 [https://irclogs.wordpress.org/chanlog.php?channel=wordpress-
 dev&day=2012-07-20&sort=asc#m425419 nacin's suggestion]).

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21013#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list