Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#12788 closed defect (bug) (fixed)

Canceling changes to post slugs result in slug reset

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

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 14 years ago.
patch

Download all attachments as: .zip

Change History (3)

@mitchoyoshitaka
14 years ago

patch

#1 @mitchoyoshitaka
14 years ago

  • Cc mitchoyoshitaka added

#2 @dd32
14 years ago

  • Resolution set to fixed
  • Status changed from new to 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.