Skip to content

Commit

Permalink
Clarify comments for RSS list.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeherve committed Aug 21, 2019
1 parent e9d16a8 commit b82da9e
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions modules/widgets/social-icons.php
Original file line number Diff line number Diff line change
Expand Up @@ -498,28 +498,28 @@ public function get_supported_icons() {
),
array(
'url' => array(
'/feed/', // WordPress default feed url.
'/feeds/', // Blogspot and others.
'/blog/feed', // No trailing space WordPress feed, could use /feed but may match unexpectedly.
'format=RSS', // Squarespace and others.
'/rss', // Tumblr.
'/.rss', // Reddit.
'/rss.xml', // Moveable Type, Typepad.
'http://rss',
'https://rss',
'/feed/', // WordPress default feed url.
'/feeds/', // Blogspot and others.
'/blog/feed', // No trailing slash WordPress feed, could use /feed but may match unexpectedly.
'format=RSS', // Squarespace and others.
'/rss', // Tumblr.
'/.rss', // Reddit.
'/rss.xml', // Moveable Type, Typepad.
'http://rss.', // Old custom format.
'https://rss.', // Old custom format.
'rss=1',
'/feed=rss', // Catches feed=rss / feed=rss2.
'?feed=rss', // WordPress non-permalink - Catches feed=rss / feed=rss2.
'?feed=rdf', // WordPress non-permalink.
'?feed=atom', // WordPress non-permalink.
'http://feeds', // FeedBurner.
'https://feeds', // FeedBurner.
'/feed.xml', // Feedburner Alias, and others.
'/index.xml', // Moveable Type, and others.
'/atom.xml', // Typepad, Squarespace.
'.atom', // Shopify blog.
'/atom', // Some non-WordPress feeds.
'index.rdf', // Typepad.
'/feed=rss', // Catches feed=rss / feed=rss2.
'?feed=rss', // WordPress non-permalink - Catches feed=rss / feed=rss2.
'?feed=rdf', // WordPress non-permalink.
'?feed=atom', // WordPress non-permalink.
'http://feeds.', // FeedBurner.
'https://feeds.', // FeedBurner.
'/feed.xml', // Feedburner Alias, and others.
'/index.xml', // Moveable Type, and others.
'/atom.xml', // Typepad, Squarespace.
'.atom', // Shopify blog.
'/atom', // Some non-WordPress feeds.
'index.rdf', // Typepad.
),
'icon' => 'feed',
'label' => __( 'RSS Feed', 'jetpack' ),
Expand Down

0 comments on commit b82da9e

Please sign in to comment.