[wp-hackers] Custom Post Types and pending incompatibilities

Tobias Bergius tobias at lecoqi.se
Sun Jul 11 23:37:07 UTC 2010


Well, the best practice for plugin and theme developers is to use a
unique namespace. Wordpress core post types could then be without a
specific namespace.

Cf. post type "event" and post type "mysite_event".



2010/7/12 Mike Schinkel <mikeschinkel at newclarity.net>:
> 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?
>
> Maybe the answer is, "Let it happen."  Okay if so, just thinking it would be nice for it to be explicit as opposed to by happenstance.
>
> -Mike
>
> On Jul 11, 2010, at 7:16 PM, scribu wrote:
>
>> Furthermore, since 'post' and 'page' aren't going anywhere, if the core team
>> were to add a post type for events, calling it 'wp_event' would just be
>> confusing.
>>
>>
>> --
>> http://scribu.net
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
Vänligen,
Tobias Bergius


More information about the wp-hackers mailing list