Make WordPress Core

Opened 6 years ago

Last modified 3 months ago

#6106 accepted enhancement

Post slug improvements

Reported by: markjaquith Owned by: markjaquith
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords:
Focuses: ui, administration Cc:

Description (last modified by markjaquith)

  1. Right now, a post ID is shown as the post slug unless a slug is manually entered. Instead, it should show the dynamic slug generated from the title. Ideally, as the title is updated. (maybe using onblur to see if the typed-in title has changed, and doing a quick AJAX request to see what the dynamic slug would be).
  2. There is no way to tell the difference between a tentative slug, and a locked-in slug (either by choice, or by hitting "publish"). Perhaps the highlighting could go away and the slug could be bolded to indicate that it is set.

Change History (11)

comment:1 lloydbudd6 years ago

  • Cc nbachiyski added

comment:2 markjaquith6 years ago

  • Description modified (diff)
  • Owner changed from anonymous to markjaquith
  • Status changed from new to assigned

Heh @ lloyd. Beat me to it! #1 was taken care of by [7162]. see #6072

comment:3 markjaquith6 years ago

  • Description modified (diff)

Well, part of #1 at least. Dynamic slug-building would still be neat.

comment:4 nbachiyski6 years ago

  1. What if I had just entered a manual slug and then change the title? Should the slug be changed or not?
  1. Knowing whether the slug was saved by the user, or saved in DB can help us for point 1. However it want be easy, because autosave goes every minute and we will lose the tentative state very fast.

Do you really think we need something as complicated and error-prone?

comment:5 lloydbudd6 years ago

  • Milestone changed from 2.5 to 2.6

comment:6 mrmist5 years ago

Also related #5554 #4739 vaguely #1762 #4328 #6973 #3206

comment:7 westi4 years ago

  • Milestone changed from 2.9 to Future Release

Moving to Future Release until we have a patch.

comment:8 SergeyBiryukov3 years ago

  • Keywords ui-feedback added

comment:9 Apiweb3 months ago

  • Keywords ux-feedback added
  • Version 2.5 deleted

I think a refresh icon would appear next to the locked slug, clicking it to WordPress try to generate a new slug.

comment:10 ryno2673 months ago

wow this ticket is old. Um what about the yellow highlight if it's pending/tentative slug then green when it's "locked in"?

comment:11 ocean903 months ago

  • Component changed from Administration to Posts, Post Types
  • Focuses ui administration added
  • Keywords ui-feedback ux-feedback removed
Note: See TracTickets for help on using tickets.