[wp-hackers] post management page empty if enablign custom taxonomy

Mike Schinkel mikeschinkel at newclarity.net
Fri Jun 18 21:05:59 UTC 2010


William,

Maybe you should have this: 

> add_action( 'init', 'ls_taxonomies');

instead of this?

> add_action( 'init', 'lstaxonomies', 0 );

I haven't looked at the rest to verify but it certainly won't work as presented in the email...

-Mike

On Jun 18, 2010, at 4:13 PM, William Maddler wrote:

> function ls_taxonomies() {
>        register_taxonomy( 'post_type', 'post', array( 'hierarchical' =>
> true, 'label' => 'Post Type', 'query_var' => true, 'rewrite' => true ) );
>        add_action( 'init', 'build_taxonomies', 0 );
> }
> 
> add_action( 'init', 'lstaxonomies', 0 );



More information about the wp-hackers mailing list