WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/02/2010 03:08:02 AM (10 years ago)
Author:
dd32
Message:

utilise wp_guess_url() in installation redirection to provide an Absolute URL. See #14062. See #14904

File:
1 edited

Legend:

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

    r15638 r15680  
    34843484        $url = preg_replace('|/wp-admin/.*|i', '', $schema . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
    34853485    }
    3486     return $url;
     3486    return rtrim($url, '/');
    34873487}
    34883488
Note: See TracChangeset for help on using the changeset viewer.