Opened 3 years ago

Closed 3 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: mitchoyoshitaka

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

Download all attachments as: .zip

Change History (3)

patch

  • Cc mitchoyoshitaka added

comment:2   dd323 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.