[wp-hackers] Custom Post Types and pending incompatibilities
Krusty Ruffle
krustyruffle at rustykruffle.com
Sun Jul 11 23:40:41 UTC 2010
Maybe:
if ( ! post_type_exists( 'new_type' ) ) :
register_post_type ( 'new_type');
else :
some_kind_of_warning_about_post_type_already_exists();
endif;
On Sun, Jul 11, 2010 at 7:26 PM, Mike Schinkel
<mikeschinkel at newclarity.net>wrote:
> Any suggestion on how to avoid a situation of having a core update that
> adds a new post type keep from breaking any sites, themes and plugins that
> happen to use the same obvious name?
>
More information about the wp-hackers
mailing list