Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#5679 closed enhancement (fixed)

Edit slugs in place

Reported by: nbachiyski's profile nbachiyski Owned by: nbachiyski's profile nbachiyski
Milestone: 2.5 Priority: normal
Severity: normal Version:
Component: Administration Keywords: has-patch
Focuses: Cc:


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 (1)

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

Download all attachments as: .zip

Change History (2)

#1 @matt
16 years ago

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

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

Note: See TracTickets for help on using tickets.