[wp-trac] [WordPress Trac] #21655: Incorrect URL For Theme Options With Custom Post Type

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 22 20:42:26 UTC 2012


#21655: Incorrect URL For Theme Options With Custom Post Type
-------------------------------------+------------------------------
 Reporter:  jarretc                  |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Administration           |     Version:  3.4.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------------------

Comment (by JarretC):

 This doesn't have anything to do with the Appearance->Test URL. It has to
 do with the URL on the Appearance->Themes page.

 See attached screenshot for the area I'm referring to.

 This is the exact code that I have in Twentytwelve functions.php...


 {{{
 function jarret_test() {
 register_post_type( 'test', array(
         'label' => 'Test',
         'public' => true,
         'show_in_menu' => 'themes.php',
         ) );
 }
 add_action('init', 'jarret_test');
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21655#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list