[wp-testers] A Default Taxonomy

Gustavo Silva Bordoni gustavo at webord.net
Fri Apr 16 15:44:02 UTC 2010


These days, I was doing some tests on the Custom_Post_Type, for the new 3.0
Update. And I got a problem where If I delete all the taxonomies from a
category on a Post_Type I get an error because there is no Taxonomy on the
array to create the list.

Anyone has a solution? I could make a condition before the Foreach... but
isn't a good solution...

I would like to know if there is a way to use like a Default Taxonomy, so
couldn't be possible to delete all of them. And if you delete all the
taxonomies from a Post_Type, this would be allocated to this default, like
the categories.

Thanks
--
Gustavo Silva Bordoni - http://webord.net/

Fale comigo[Talk to me]:
Mail:
gustavo at webord.net
gustavo at tangerina.com.br
webord.net at gmail.com

Twitter: http://twitter.com/webord

Skype: webord

Telefone[Phone]: +55 (21) 9416-4506


More information about the wp-testers mailing list