[wp-hackers] Taking over URL space

Phillip Lord phillip.lord at newcastle.ac.uk
Thu Mar 1 16:13:59 UTC 2012


"Dion Hulse (dd32)" <wordpress at dd32.id.au> writes:
> It looks like your generate_rewrite_rules callback is completely
> wrong. $wp_review?  $rules?

Oh dear. Chopped and changed stuff around too much. Still, doesn't seem
to change the fundamental issue that the method is never called. This is
why it didn't crash!

>
> Using these filters is really old-school btw, using something like
> add_rewrite_rule() is probably the best method.

I am happy to use anything, so long as it works. I'll investigate
add_rewrite_rule again. 


>
> But i'll leave this old example here for you:
> http://dd32.id.au/files/wordpress/test-rewrite.php  (ooh, it's over 2
> years old.. )
>

Thanks! This is a big help. 

Phil


More information about the wp-hackers mailing list