[wp-trac] [WordPress Trac] #12507: Make /page/ filterable

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 3 23:20:58 UTC 2010


#12507: Make /page/ filterable
-------------------------+--------------------------------------------------
 Reporter:  scribu       |       Owner:  ryan                   
     Type:  enhancement  |      Status:  new                    
 Priority:  normal       |   Milestone:  Future Release         
Component:  Permalinks   |     Version:                         
 Severity:  normal       |    Keywords:  has-patch needs-testing
-------------------------+--------------------------------------------------

Comment(by filosofo):

 Also, it would be good if all the endpoints were defined consistently, say
 by calling the `add_endpoint` method in `init`.  Then at the bottom of
 `init` we could pass a reference to the WP_Rewrite object which would
 allow all such rewrite properties to be manipulated by plugin.

 I really do like the idea, sort of hinted at in scribu's patch, of having
 a consistent API shared between rewrite and link generation for
 determining link structure.

 Since its use is limited to 2 places in core, I'm not sure
 `get_pagination_base` would need to be a public function.

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


More information about the wp-trac mailing list