Skip to content

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

@spinfly

Description

@spinfly

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.

The code to be modified is here:

custom-permalinks/frontend/class-custom-permalinks-form.php
Lines 180 and 238

Metadata

Metadata

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions