Ticket #5816 (closed defect (bug): fixed)
Long titles break edit permalink box
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.5 |
| Component: | General | Version: | 2.5 |
| Severity: | normal | Keywords: | permalink |
| Cc: |
Description
Edit a post with a long title. Click the permalink Edit button. Ellipses are present in the middle of the slug. Press Save without changing the slug. The permalink is now -1.
Attachments
Change History
comment:1
nbachiyski — 4 years ago
comment:4
nbachiyski — 4 years ago
In the beginning it was the intended behaviour, but now I realize it was rather stupid. Here is a patch, which shows the whole slug in the edit box.
Note: See
TracTickets for help on using
tickets.


Actually the problem wasn't in long titles, the same happened with short ones too :-) The ajax request didn't have a proper nonce, that's why the -1 appeared.