Make WordPress Core

Changeset 32325


Ignore:
Timestamp:
04/29/2015 07:18:35 AM (10 years ago)
Author:
SergeyBiryukov
Message:

Fix typo in a comment in wp_guess_url().

props ixkaito.
fixes #32179.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r32171 r32325  
    37563756                // Request is hitting a file inside ABSPATH
    37573757                $directory = str_replace( ABSPATH, '', $script_filename_dir );
    3758                 // Strip off the sub directory, and any file/query paramss
     3758                // Strip off the sub directory, and any file/query params
    37593759                $path = preg_replace( '#/' . preg_quote( $directory, '#' ) . '/[^/]*$#i', '' , $_SERVER['REQUEST_URI'] );
    37603760            } elseif ( false !== strpos( $abspath_fix, $script_filename_dir ) ) {
Note: See TracChangeset for help on using the changeset viewer.