Make WordPress Core

Opened 22 months ago

Closed 22 months ago

Last modified 22 months 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 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 22 months ago.

Download all attachments as: .zip

Change History (4)

#1 @spinfly
22 months ago

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

#2 @spinfly
22 months ago

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

#3 @desrosj
22 months ago

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