[wp-hackers] Custom Post Types and pending incompatibilities

Paul paul at codehooligans.com
Sun Jul 11 00:06:12 UTC 2010

Well according to the register_taxonomy Codex page there is already a list of reserved taxonomies. So really not seeing how this could not be implemented also for post types. http://codex.wordpress.org/Function_Reference/register_taxonomy

One slight issue with my suggestion is the existing (new) logic to handle actions and templates where the post type name is used as part of the template like single-event.php etc. 

On Jul 10, 2010, at 7:08 PM, Rich Pedley wrote:

> On 10/07/2010 22:51, Paul wrote:
>> Personally I can't say I like the idea of theses solutions. Having
>> a codex page or central site where you need to somehow register
>> your post type name just seems wrong to me. Too many extra steps to
>> just through.
>>> -- Most importantly, it will likely be impossible to add any new
>>> types to core w/o potentially breaking existing plugins and/or
>>> existing custom implementations.
>> One idea for the core WP side is to have all the post types
>> proceeded with wp_ and make this reserves for all core post types
>> to that plugin authors cannot register anything beginning with
>> 'wp_'.
> Although I totally agree with the reasoning, this is likely to cause a few plugins with custom queries to stop working. So the change would have to cover both, for example, wp_posts & posts for several releases.
> Rich
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list