Skip to content

Commit

Permalink
making work in WP 4.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
stubar committed Aug 11, 2015
1 parent 6fa3214 commit b3c71b7
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions DomainAgnostic.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,11 @@ static function abs($url){
return self::getDomain($url);
}
static function rel($url){
/*$output= preg_replace("/(\\/)[^\\/]*$/",'',SITECOOKIEPATH);
if($output=="") $output="/";
return $output;*/
$newUrl=self::getDomain($url);
$newUrl =parse_url($newUrl, PHP_URL_PATH);
if($newUrl=="") $newUrl="/";
return $newUrl;
}
static function test($url){
$x=true;
flush ();
return $url;
}
static function style_loader_src($url){
$urlPath = parse_url($url, PHP_URL_PATH);
return $urlPath;
Expand Down

0 comments on commit b3c71b7

Please sign in to comment.