[wp-trac] [WordPress Trac] #17276: custom post type problems needs addressed

WordPress Trac wp-trac at lists.automattic.com
Sun May 1 02:06:28 UTC 2011


#17276: custom post type problems needs addressed
-------------------------+------------------------------
 Reporter:  squeeky      |       Owner:  squeeky
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Taxonomy     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |
-------------------------+------------------------------

Comment (by scribu):

 You can't automatically flush rewrite rules after registering a new post
 type because post types are not stored persistently somewhere (such as in
 the database). Therefore, there's no way for WP to ask "hey, is this post
 type new?" and know the answer.

 As for the rest of your proposal, you must have missed the initial
 discussion about post types: there's no point in using ''custom'' post
 types if they behave just like normal posts. You can just use categories
 and tags and post formats to group and style posts.

 Therefore, I'm afraid this ticket will be closed as wontfix. Will wait to
 see your patch first.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17276#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list