[wp-trac] [WordPress Trac] #12985: The $page_title variable of add_submenu_page() does not work for custom post types

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 13 05:29:34 UTC 2010


#12985: The $page_title variable of add_submenu_page()  does not work for custom
post types
--------------------------+-------------------------------------------------
 Reporter:  uglyrobot     |       Owner:             
     Type:  defect (bug)  |      Status:  new        
 Priority:  high          |   Milestone:  3.0        
Component:  Post Types    |     Version:             
 Severity:  normal        |    Keywords:  needs-patch
--------------------------+-------------------------------------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12985>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list