WordPress.org

Make WordPress Core

Changeset 18467


Ignore:
Timestamp:
07/25/11 20:20:07 (3 years ago)
Author:
ryan
Message:

Explain the empty req_uri branch. Props duck_. fixes #17177

File:
1 edited

Legend:

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

    r18466 r18467  
    187187            $request_match = $request; 
    188188            if ( empty( $req_uri ) ) { 
     189                // An empty request could only match against ^$ regex 
    189190                if ( isset( $rewrite['$'] ) ) { 
    190191                    $this->matched_rule = '$'; 
Note: See TracChangeset for help on using the changeset viewer.