[wp-trac] [WordPress Trac] #48727: 'View" button for previewing custom post types should use 'view_item' label defined when custom post type is registered
WordPress Trac
noreply at wordpress.org
Tue Nov 19 16:24:42 UTC 2019
#48727: 'View" button for previewing custom post types should use 'view_item' label
defined when custom post type is registered
-------------------------+-----------------------------
Reporter: spinfly | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 5.2.4
Severity: minor | Keywords:
Focuses: |
-------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48727>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list