[wp-trac] [WordPress Trac] #9674: Better support for custom post types
WordPress Trac
wp-trac at lists.automattic.com
Mon Jan 25 21:16:26 UTC 2010
#9674: Better support for custom post types
------------------------------------+---------------------------------------
Reporter: wnorris | Owner: ryan
Type: task (blessed) | Status: reopened
Priority: normal | Milestone: 3.0
Component: Administration | Version: 2.9
Severity: normal | Resolution:
Keywords: has-patch tested early |
------------------------------------+---------------------------------------
Comment(by prettyboymp):
Replying to [comment:181 evolts]:
> What about a per post_type permalink structure? Is this already in the
code? Should be used a plugin?
I think to leave things a flexible as possible, setting the permalink
structure and adding rewrite rules should probably stay in the domain of
the plugin's responsibility.
I haven't had a chance to test this in HEAD yet, but an issue I have run
into, is that sites without mod_rewrite can't get access custom post_types
in the front end. The normal ?p=# sets the post_type query_var to 'post'
by default. If the permalink structure is empty, the post_type variable
should probably default to the 'any' handling. I'll test and patch if I
can get to it before anyone else.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9674#comment:183>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list