[wp-trac] [WordPress Trac] #21013: Badly truncated slugs in posts with similar, long non-latin titles
WordPress Trac
wp-trac at lists.automattic.com
Thu Jun 21 16:15:17 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 |
--------------------------+------------------
Changes (by SergeyBiryukov):
* keywords: has-patch needs-unit-tests => has-patch
Comment:
> Due to more accurate string handling, this allows 1 character longer
slugs (still within the limit) than the previous patches
[attachment:21013.8.patch] brings the same accuracy to the `mb_substr()`
approach, so both approaches should be functionally the same now. Turned
out `mb_strlen()` is not needed.
Updated unit tests: [UT741]
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21013#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list