| @@ -618,11 +618,10 @@ | ||
| 618 | 618 | * @uses home_url() |
| 619 | 619 | * @uses apply_filters() |
| 620 | 620 | */ |
| 621 | 621 | static function normalize_guid_prefix () { |
| 622 | - $scheme = 'http'; | |
| 623 | - $url = trailingslashit(home_url(/*path=*/ '', $scheme)); | |
| 624 | - return apply_filters('syndicated_item_guid_normalized_prefix', $url . '?guid=', $scheme); | |
| 622 | + $url = trailingslashit(home_url(/*path=*/ '', /*scheme=*/ 'http')); | |
| 623 | + return apply_filters('syndicated_item_guid_normalized_prefix', $url . '?guid='); | |
| 625 | 624 | } /* SyndicatedPost::normalize_guid_prefix() */ |
| 626 | 625 | |
| 627 | 626 | static function normalize_guid ($guid) { |
| 628 | 627 | $guid = trim($guid); |
| @@ -636,11 +635,10 @@ | ||
| 636 | 635 | return $guid; |
| 637 | 636 | } /* SyndicatedPost::normalize_guid() */ |
| 638 | 637 | |
| 639 | 638 | static function alternative_guid_prefix () { |
| 640 | - $scheme = 'https'; | |
| 641 | - $url = trailingslashit(home_url(/*path=*/ '', $scheme)); | |
| 642 | - return apply_filters('syndicated_item_guid_normalized_prefix', $url . '?guid=', $scheme); | |
| 639 | + $url = trailingslashit(home_url(/*path=*/ '', /*scheme=*/ 'https')); | |
| 640 | + return apply_filters('syndicated_item_guid_normalized_prefix', $url . '?guid='); | |
| 643 | 641 | } |
| 644 | 642 | static function alternative_guid ($guid) { |
| 645 | 643 | $guid = trim($guid); |
| 646 | 644 | if (preg_match('/^[0-9a-z]{32}$/i', $guid)) : // MD5 |