WordPress.org

Make WordPress Core

Changeset 5959


Ignore:
Timestamp:
08/28/07 19:55:11 (7 years ago)
Author:
westi
Message:

Pass through the function argument so rules can actually be added to the top of the stack, props santos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/rewrite.php

    r5925 r5959  
    77function add_rewrite_rule($regex, $redirect, $after = 'bottom') { 
    88    global $wp_rewrite; 
    9     $wp_rewrite->add_rule($regex, $redirect); 
     9    $wp_rewrite->add_rule($regex, $redirect, $after); 
    1010} 
    1111 
Note: See TracChangeset for help on using the changeset viewer.