[wp-hackers] Options for Controller - Views

Dion Hulse (dd32) wordpress at dd32.id.au
Thu Nov 19 21:12:14 UTC 2009


I was thinking the same thing Otto.

Adding a rule is easy. If you want complex selection based off it, Its not  
too hard to add extra query vars, set them via the rule, And if thats not  
enough, hook in to parse_request to change the query vars further..

I'd like to see some examples of what is NOT possible currently...

On Fri, 20 Nov 2009 06:41:04 +1100, Otto <otto at ottodestruct.com> wrote:

> Can somebody explain what the issue is here, to me?
>
> All I've ever done to mess with rewrite rules is to call the
> add_rewrite_rule function on an init hook. If I wanted to do whole
> custom pages based on that, I'd probably use template_redirect for it.
>
> I've never seen any need to mess with global variables. What are you
> trying to do, exactly?
>
> -Otto
>
>
>
> On Thu, Nov 19, 2009 at 8:24 AM, scribu <scribu at gmail.com> wrote:
>> +1 on revamping the Rewrite API, or at the very least finishing it.
>> You shouldn't have to call various global variables to get the job
>> done.
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


More information about the wp-hackers mailing list