[wp-trac] Re: [WordPress Trac] #2433: Provide some API for
WP_Rewrite
WordPress Trac
wp-trac at lists.automattic.com
Wed Feb 15 17:25:06 GMT 2006
#2433: Provide some API for WP_Rewrite
----------------------------+-----------------------------------------------
Id: 2433 | Status: new
Component: Administration | Modified: Wed Feb 15 17:25:06 2006
Severity: normal | Milestone: 2.1
Priority: normal | Version: 2.0.1
Owner: anonymous | Reporter: davidhouse
----------------------------+-----------------------------------------------
Comment (by davidhouse):
I'm about to start writing add_endpoint(), and I need an opinion. Westi
(who wrote the spec for this function) said:
"This simply adds the endpoint to all permalink types (e.g. posts, pages,
category, author, search) and then template-loader.php includes the
relavent handler file"
The problem is that we should probably allow plugins to specify onto which
URLs their endpoint gets added on to. E.g. trackback needs to be added
just on to permalinks, but others might want their endpoint only on, say,
date URLs. Do we:
1. Just give an option for permalinks/everywhere
1. Give a whole list of bool parameters for date/category/author/etc
(perhaps wrapped up in some sort of array or something)
--
Ticket URL: <http://trac.wordpress.org/ticket/2433>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list