Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 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:


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 4 years ago.

Download all attachments as: .zip

Change History (4)

#1 @spinfly
4 years ago

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

#2 @spinfly
4 years ago

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

#3 @desrosj
4 years ago

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