Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#23468 closed defect (bug) (invalid)

No Live Preview after registering taxonomy with 'theme' id

Reported by: alexvorn2 Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.4
Component: Taxonomy Keywords:
Focuses: Cc:


How to replicate:

1) Add the following code into the functions.php file of the theme: (twentytwelve)

add_action( 'init', 'create_book_tax' );

function create_book_tax() 
         'label' => __( 'Genre' ),
         'rewrite' => array( 'slug' => 'genre' ),
         'hierarchical' => true

2) make sure the theme is deactivated

3) click "live preview" of the theme

4) "blank white screen"

Everything works great if we replace theme with other word, example genre ...

I don't see the theme word in the reserved list http://codex.wordpress.org/Function_Reference/register_taxonomy so this is very weird for me.

Change History (3)

#1 @alexvorn2
5 years ago

  • Component changed from General to Taxonomy

#2 @ocean90
5 years ago

  • Keywords needs-patch removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
  • Version changed from 3.5.1 to 3.4

Added theme, nonce, customized and customize_messenger_channel to the list.

Don't forget to use a prefix.

Last edited 5 years ago by ocean90 (previous) (diff)

#3 @alexvorn2
5 years ago


Note: See TracTickets for help on using tickets.