Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#48727 closed enhancement (invalid)

'View" button for previewing custom post types should use 'view_item' label defined when custom post type is registered

Reported by: spinfly's profile spinfly Owned by:
Milestone: Priority: normal
Severity: minor Version: 5.2.4
Component: Editor Keywords:
Focuses: Cc:

Description

Currently, the "View ..." button on admin pages uses ucfirst( $post->post_type ). This looks clunky when usings a custom post type like 'press_releases'. See attached screenshot.

My recommendation is to use the 'view_item' label that is defined when a post type is registered for this button.

Attachments (1)

Screen Shot 2019-11-19 at 11.24.57 AM.png (6.8 KB) - added by spinfly 5 years ago.

Download all attachments as: .zip

Change History (4)

#1 @spinfly
5 years ago

  • Resolution set to invalid
  • Status changed from new to closed

#2 @spinfly
5 years ago

Sorry, turns out this functionality was being driven by a plugin, not the WP core.

#3 @desrosj
5 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.