Edit slugs in place
|Reported by:||nbachiyski||Owned by:||nbachiyski|
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.