[wp-trac] Re: [WordPress Trac] #2433: Provide some API for WP_Rewrite

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 16 12:58:21 GMT 2006


#2433: Provide some API for WP_Rewrite
----------------------------+-----------------------------------------------
       Id:  2433            |      Status:  new                     
Component:  Administration  |    Modified:  Thu Feb 16 12:58:21 2006
 Severity:  normal          |   Milestone:  2.1                     
 Priority:  normal          |     Version:  2.0.1                   
    Owner:  anonymous       |    Reporter:  davidhouse              
----------------------------+-----------------------------------------------
Comment (by davidhouse):

 $feeds is generally relied on by different parts of WP_Rewrite, so I
 wanted to leave it in. Also, the most elegant way of having a feed files
 array would be an associative array, names => filenames. If I wanted to
 get rid of $feeds, then all over the place in WP_Rewrite people would have
 to do array_keys($this->feeds) which would get ugly. So I split it.

 I guess more granularity can be coded, yes. If we want to support
 trackback through add_endpoint() then it'll be necessary. It will require
 something of a rethink, though.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2433>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list