[wp-hackers] Filter: rewrite_rules_array
jason at intraffic.net
Thu Jun 5 20:53:58 GMT 2008
Well, you don't even need the function call.
But, it's definitely good to know that they are processed in a
Jason Webster wrote:
> Ahh, perfect.
> So, if I need rule to be matched first, I'll need to array_unshift()
> it onto the rules array, instead of appending it.
> Andy Skelton wrote:
>> On Thu, Jun 5, 2008 at 3:07 PM, Jason Webster <jason at intraffic.net>
>>> Could you explain the precedence of the rewrite rules? I would image
>>> they would be ascending, so rules added last are checked first, but
>>> doesn't seem to be the case.
>> They are processed by a foreach in WP::parse_request()
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers