mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
Introduce home_url(). Props Denis-de-Bernardy, hakre. see #9008
git-svn-id: https://develop.svn.wordpress.org/trunk@12598 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -159,7 +159,7 @@ class WP {
|
||||
$req_uri_array = explode('?', $req_uri);
|
||||
$req_uri = $req_uri_array[0];
|
||||
$self = $_SERVER['PHP_SELF'];
|
||||
$home_path = parse_url(get_option('home'));
|
||||
$home_path = parse_url(home_url());
|
||||
if ( isset($home_path['path']) )
|
||||
$home_path = $home_path['path'];
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user