#28465 closed enhancement (wontfix)
allow Custom Post Type admin title "Enter text here" defined by user in $labels
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.9.1 |
Component: | Posts, Post Types | Keywords: | |
Focuses: | Cc: |
Description
Admin title default "Enter text here"
But all custom post type buttons can be defined by user. And logical to assume "Enter text here" need to be defined by user instead hook:
function change default title( $title ){ $screen = get_current_screen(); if ( 'POST_TYPE' == $screen->post_type ) { $title = 'Enter Invoice Title'; } return $title; } add_filter( 'enter_title_here', 'change_default title' );
I think if we can defined buttons name, we must define "enter text here" similarly
Change History (5)
#1
@
11 years ago
- Summary changed from allow Custom Post Type admin title "Enter text here" difened buy user in $labels to allow Custom Post Type admin title "Enter text here" defined by user in $labels
#3
in reply to:
↑ 2
@
11 years ago
- Keywords close removed
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
"Enter title here" is a perfectly reasonable default for something that is a title field. The current labels for registering a post type involve the name of the post type itself, which is not inherently a part of the title field. The filter seems like enough to me. Suggest wontfix.