Opened 14 years ago
Closed 14 years ago
#12985 closed defect (bug) (fixed)
The $page_title variable of add_submenu_page() does not work for custom post types
Reported by: | uglyrobot | Owned by: | |
---|---|---|---|
Milestone: | 3.0 | Priority: | high |
Severity: | normal | Version: | |
Component: | Posts, Post Types | Keywords: | needs-patch |
Focuses: | Cc: |
Description
If I try to add a submenu page to a custom post type the title is not displayed.
Example code for "product" post type:
add_submenu_page('edit.php?post_type=product', 'Menu Title', 'Page Title', ...
The <title> tag just has the default WP title.
Change History (2)
Note: See
TracTickets for help on using
tickets.
Related:
http://core.trac.wordpress.org/ticket/12453#comment:12