[wp-trac] [WordPress Trac] #26242: Customize page empty in a theme with 'theme' post type, very strange

WordPress Trac noreply at wordpress.org
Mon Nov 25 17:59:30 UTC 2013


#26242: Customize page empty in a theme with 'theme' post type, very strange
--------------------------+-----------------------------
 Reporter:  alexvorn2     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 Steps to reproduce:

 1. Register theme post type

 {{{
 function codex_custom_init() {
     $args = array(
       'public' => true,
       'label'  => 'Themes'
     );
     register_post_type( 'theme', $args );
 }
 add_action( 'init', 'codex_custom_init' );
 }}}

 2. Try to customize the theme wp-admin/customize.php

 3. Page is blank!

 I can't understand what the problem can be..
 Only these ids are reserved, not 'theme':

 {{{
     post
     page
     attachment
     revision
     nav_menu_item
 }}}

 Firefox latest, Windows 32bit, php 5.3.8

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


More information about the wp-trac mailing list