PluginProbe
FeedWordPress / 2025.1211
FeedWordPress v2025.1211
trunk 0.8 0.9 0.91 0.95 0.96 0.97 0.98 0.981 0.99 0.991 0.992 0.993 2008.1030 2008.1101 2008.1105 2008.1214 2009.0612 2009.0613 2009.0618 2009.0707 2009.1111 2009.1112 2010.0127 2010.0528 All 65 releases
← All changes | syndicatedpost.class.php +4 -6 trunk2025.1211 View file →
@@ -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