The rewrite rule matching code in WP::parse_request() used an unclear variable `$request` to represent the requested path (e.g. "2016/05/03") as well as a deceptively named variable `$request_uri`, which actually represents the requested file when an install used PATHINFO links. Those variables are replaced with `$requested_path` and `$requested_file` respectively for clarity. Fixes #36674. Built from https://develop.svn.wordpress.org/trunk@37356 git-svn-id: http://core.svn.wordpress.org/trunk@37322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
25 KiB
25 KiB