#13848 closed defect (bug) (worksforme)
Title on all New [Post Type] screens is "New Post"
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.0 |
Component: | Posts, Post Types | Keywords: | |
Focuses: | Cc: |
Description
In 3.0-RC2-15182 the title of the New [Post Type] pages is always New Post. The correct title was shown in a (much) earlier build; seems this is a regression.
Attachments (1)
Change History (7)
#1
@
15 years ago
- Milestone Unassigned deleted
- Resolution set to worksforme
- Status changed from new to closed
You need to register the 'add_new_item' label.
'labels' => array( 'add_new' => 'this is the menu text', 'add_new_item' => 'This is the title' )
#2
@
15 years ago
http://codex.wordpress.org/Function_Reference/register_post_type has an example of ocean90's suggestion.
#3
@
15 years ago
Ah; seems the API has changed since I last tested this feature. Sorry for the false bug and thanks for the explanation.
Note: See
TracTickets for help on using
tickets.
Should read "Add New Book"