WebSub/PubSubHubbub - Version 3.0.2

Version Description

  • better self-link generator
Download this release

Release Info

Developer pfefferle
Plugin Icon 128x128 WebSub/PubSubHubbub
Version 3.0.2
Comparing to
See all releases

Code changes from version 3.0.1 to 3.0.2

includes/functions.php CHANGED
@@ -52,5 +52,7 @@ function pubsubhubbub_show_discovery() {
52
  * @return boolean
53
  */
54
  function pubsubhubbub_get_self_link() {
55
- return trailingslashit( home_url( add_query_arg( null, null ) ) );
 
 
56
  }
52
  * @return boolean
53
  */
54
  function pubsubhubbub_get_self_link() {
55
+ $host = wp_parse_url( home_url() );
56
+
57
+ return esc_url( apply_filters( 'self_link', set_url_scheme( 'http://' . $host['host'] . wp_unslash( $_SERVER['REQUEST_URI'] ) ) ) );
58
  }
languages/pubsubhubbub.pot CHANGED
@@ -1,15 +1,15 @@
1
- # Copyright (C) 2018 Matthias Pfefferle
2
  # This file is distributed under the MIT.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WebSub/PubSubHubbub 3.0.1\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/wordpress-pubsubhubbub\n"
8
- "POT-Creation-Date: 2018-10-07 13:43:47+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "PO-Revision-Date: 2018-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
  "X-Generator: grunt-wp-i18n1.0.2\n"
1
+ # Copyright (C) 2019 Matthias Pfefferle
2
  # This file is distributed under the MIT.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WebSub/PubSubHubbub 3.0.2\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/wordpress-pubsubhubbub\n"
8
+ "POT-Creation-Date: 2019-02-10 21:23:48+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2019-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
  "X-Generator: grunt-wp-i18n1.0.2\n"
pubsubhubbub.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WebSub/PubSubHubbub
4
  * Plugin URI: https://github.com/pubsubhubbub/wordpress-pubsubhubbub/
5
  * Description: A better way to tell the world when your blog is updated.
6
- * Version: 3.0.1
7
  * Author: Matthias Pfefferle
8
  * Author URI: https://notiz.blog/
9
  * License: MIT
3
  * Plugin Name: WebSub/PubSubHubbub
4
  * Plugin URI: https://github.com/pubsubhubbub/wordpress-pubsubhubbub/
5
  * Description: A better way to tell the world when your blog is updated.
6
+ * Version: 3.0.2
7
  * Author: Matthias Pfefferle
8
  * Author URI: https://notiz.blog/
9
  * License: MIT
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: pfefferle, joshfraz
3
  Donate link: https://notiz.blog/donate/
4
  Tags: webhooks, websub, puhsubhubbub, pubsub, ping, push, indieweb, openweb, ostatus
5
  Requires at least: 4.5
6
- Tested up to: 4.9.8
7
- Stable tag: 3.0.1
8
 
9
  A better way to tell the world when your blog is updated.
10
 
@@ -73,6 +73,10 @@ A WebSub Subscriber is an implementation that discovers the hub and topic URL gi
73
 
74
  Project maintained on github at [pubsubhubbub/wordpress-pubsubhubbub](https://github.com/pubsubhubbub/wordpress-pubsubhubbub).
75
 
 
 
 
 
76
  = 3.0.1 =
77
 
78
  * add donation button
3
  Donate link: https://notiz.blog/donate/
4
  Tags: webhooks, websub, puhsubhubbub, pubsub, ping, push, indieweb, openweb, ostatus
5
  Requires at least: 4.5
6
+ Tested up to: 5.1
7
+ Stable tag: 3.0.2
8
 
9
  A better way to tell the world when your blog is updated.
10
 
73
 
74
  Project maintained on github at [pubsubhubbub/wordpress-pubsubhubbub](https://github.com/pubsubhubbub/wordpress-pubsubhubbub).
75
 
76
+ = 3.0.2 =
77
+
78
+ * better `self-link` generator
79
+
80
  = 3.0.1 =
81
 
82
  * add donation button