[wp-trac] [WordPress Trac] #30633: Properly cut non-latin slugs on Edit Post screen if mbstring is disabled

WordPress Trac noreply at wordpress.org
Mon Dec 8 21:26:11 UTC 2014


#30633: Properly cut non-latin slugs on Edit Post screen if mbstring is disabled
--------------------------------+----------------------------
 Reporter:  SergeyBiryukov      |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Future Release
Component:  Posts, Post Types   |    Version:  2.7
 Severity:  normal              |   Keywords:
  Focuses:  ui, administration  |
--------------------------------+----------------------------
 Background: #29573

 If mbstring is disabled, we don't properly cut non-latin slugs with
 `strlen()` more than 30. See [6633], [6794], and [9986].

 Possible options:
 * Shorten the string with JavaScript
 * Introduce a compat version of `mb_strlen()` (we already have one for
 `mb_substr()`)
 * Reconsider the UX
 ([https://wordpress.slack.com/archives/core/p1418071730000130 brief Slack
 discussion])

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30633>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list