Ticket #5679 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

Edit slugs in place

Reported by: nbachiyski Owned by: nbachiyski
Priority: normal Milestone: 2.5
Component: Administration Version:
Severity: normal Keywords: has-patch
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.

Attachments

edit-slugs-inplace.diff Download (7.4 KB) - added by nbachiyski 4 years ago.

Change History

comment:1   matt4 years ago

  • Status changed from new to closed
  • Resolution set to fixed

(In [6633]) Edit permalink in place. Fixes #5679. Hat tip: nbachiyski.

Note: See TracTickets for help on using tickets.