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

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 16 13:11:16 GMT 2006


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

 Take your point.  How about doing it the other way and having the filename
 stored as the keys in $feeds then?

 as in $feeds = array ('wprss2.php' => 'rss2', ...);

 that wouldn't require any changes and would still limit the redundancy.
 You may still feel this too much, though, which we could agree to disagree
 on :)

 I really think granularity is of key importance here.  There's no point
 providing an API that doesn't allow full flexibility, as we'd only end up
 having to code around it in the end anyway.  An example I specifically
 want to have work easily is adding a 2 letter language code to the end of
 every link.  This includes month and year archives.  At the moment, it can
 be done anyway, but it would be nice to use the new API once it exists...

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


More information about the wp-trac mailing list