[wp-trac] [WordPress Trac] #12507: Make /page/ filterable
WordPress Trac
wp-trac at lists.automattic.com
Wed Mar 3 23:31:46 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 scribu):
Replying to [comment:2 nacin]:
> If it is for i18n, then we should probably use {{{_x()}}} here and then
apply a filter over that.
I agree, but it might cause trouble when a user switches the localization
file, since the permalink rules aren't flushed.
> It may also make sense to also make this a method or property of
WP_Rewrite, much like category/tag bases.
Agreed.
Replying to [comment:3 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.
Yeah, the rewrite API needs work. What else is new? :)
I like were you're going with this, but please open your own ticket.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12507#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list