#30633 closed defect (bug) (fixed)
Properly cut non-latin slugs on Edit Post screen if mbstring is disabled
| Reported by: | SergeyBiryukov | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.2 |
| Component: | Posts, Post Types | Version: | 2.7 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | ui, administration |
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.
11 years ago
#2
@
11 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Adds mb_strlen() compatibility function