Opened 17 years ago
Closed 17 years ago
#5679 closed enhancement (fixed)
Edit slugs in place
Reported by: | nbachiyski | Owned by: | nbachiyski |
---|---|---|---|
Milestone: | 2.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | has-patch |
Focuses: | Cc: |
Description
This patch allows you to edit your slug in context of the whole permalink.
The current permalink is shown just below the title edit box and the slug can be edited in place, surrounded by the rest of the permalink. It works with all kind of permalink structures, which include %postname%
.
When editing the slug, its value is synchronized with the slug field at the bottom of the page. Pressing Enter saves the slug (explained below), pressing Escape cancels the operation and brings back the old slugs.
On save, an ajax request is made in order to get the new proper sanitized/escaped permalink as it would be transformed by WordPress and any plugins. This step is needed, because many people using non-latin alphabets tend to use plugins, which automatically transliterate their slugs.
(In [6633]) Edit permalink in place. Fixes #5679. Hat tip: nbachiyski.