#30633 closed defect (bug) (fixed)
Properly cut non-latin slugs on Edit Post screen if mbstring is disabled
Reported by: | SergeyBiryukov | Owned by: | |
---|---|---|---|
Milestone: | 4.2 | Priority: | normal |
Severity: | normal | Version: | 2.7 |
Component: | Posts, Post Types | Keywords: | |
Focuses: | ui, administration | Cc: |
Description
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 formb_substr()
) - Reconsider the UX (brief Slack discussion)
Attachments (3)
Change History (8)
This ticket was mentioned in Slack in #core by ocean90. View the logs.
9 years ago
#2
@
9 years ago
- Keywords reporter-feedback added
Nothing that [32114] added a mb_strlen
compat function. @SergeyBiryukov —does that resolve this?
Note: See
TracTickets for help on using
tickets.
Adds mb_strlen() compatibility function