Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#31910 closed defect (bug) (fixed)

Revisions: remove "post" from return to editor link text

Reported by: lancewillett's profile lancewillett Owned by: adamsilverstein's profile adamsilverstein
Milestone: 4.4 Priority: normal
Severity: normal Version: 3.6
Component: Revisions Keywords: has-patch dev-feedback has-screenshots
Focuses: ui Cc:

Description

When editing revisions for post types, the user experience could be improved by not using the word "post" in the return to editor link.

Link added in r27383 (see #24682).

This will improve the experience for people editing revisions for other post types that are not posts, like Custom CSS or something like that.

Alternatively, the link could use the label from the post type instead of "post" — but I think it's cleaner to just leave it out completely.

Attachments (5)

post-type-post.png (154.1 KB) - added by lancewillett 9 years ago.
Example of normal post editor
post-type-css.png (123.3 KB) - added by lancewillett 9 years ago.
Example of custom post type editor
31910.patch (707 bytes) - added by lancewillett 9 years ago.
Remove the "post" word in the link text
31910.2.patch (707 bytes) - added by adamsilverstein 9 years ago.
IMG_4715.PNG (167.6 KB) - added by ryan 9 years ago.
After, iPhone 6+

Download all attachments as: .zip

Change History (12)

@lancewillett
9 years ago

Example of normal post editor

@lancewillett
9 years ago

Example of custom post type editor

@lancewillett
9 years ago

Remove the "post" word in the link text

#1 @adamsilverstein
9 years ago

Looks good, great suggestion. Could go even simpler, 'Return' or 'Go Back'? are you always returning to an editor?

#2 @lancewillett
9 years ago

Yes, it always returns to the post editor; the href value is derived from get_edit_post_link().

#3 @adamsilverstein
9 years ago

  • Keywords dev-feedback added
  • Milestone changed from Awaiting Review to 4.4
  • Owner set to adamsilverstein
  • Status changed from new to assigned
  • Version set to 3.6

31910.2.patch - update for trunk. Lets make this simple change!

#4 @wonderboymusic
9 years ago

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

In 33966:

Revisions screen: change language from "Return to post editor" to "Return to editor" - more generic for usage by custom post types.

Props lancewillett, adamsilverstein.
Fixes #31910.

#5 @ryan
9 years ago

  • Keywords needs-screenshot added

#6 @ryan
9 years ago

  • Keywords needs-screenshots added; needs-screenshot removed

@ryan
9 years ago

After, iPhone 6+

#7 @ryan
9 years ago

  • Keywords has-screenshots added; needs-screenshots removed
Note: See TracTickets for help on using tickets.