Ticket #17177: 17177.diff
| File 17177.diff, 618 bytes (added by duck_, 2 years ago) |
|---|
-
wp-includes/class-wp.php
186 186 // Look for matches. 187 187 $request_match = $request; 188 188 foreach ( (array) $rewrite as $match => $query) { 189 // Don't try to match against AtomPub calls 190 if ( $req_uri == 'wp-app.php' ) 189 // Don't try to match against AtomPub calls or empty requests 190 if ( $req_uri == 'wp-app.php' ) || empty( $req_uri ) ) 191 191 break; 192 192 193 193 // If the requesting file is the anchor of the match, prepend it