Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#12788 closed defect (bug) (fixed)

Canceling changes to post slugs result in slug reset

Reported by: mitchoyoshitaka Owned by:
Priority: normal Milestone: 3.0
Component: Editor Version: 3.0
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

Steps to reproduce:

  1. Create or open a post with a non-default slug.
  2. Edit the post.
  3. Click to edit the post slug. Make a change or not. Now press cancel.
  4. Update the page.

EXPECTED: the slug would not change and stay as the custom slug you selected before.
REALITY: the post slug gets reset to the default based-on-the-title slug.

Found in 2.9.2. Still exists in trunk.

Patch attached.

Attachments (1)

post.dev.js.patch​ (900 bytes ) - added by mitchoyoshitaka 17 years ago.
patch

Download all attachments as: .zip

Change History (3)

#1 @mitchoyoshitaka
17 years ago

  • Cc mitchoyoshitaka added

#2 @dd32
17 years ago

  • Resolution → fixed
  • Status new → closed

(In [13909]) Use the correct slug value for reverting post slug inline editing. Props mitchoyoshitaka. Fixes #12788

Note: See TracTickets for help on using tickets.