WebSub/PubSubHubbub - Version 1.7.1

Version Description

  • fixed some links
  • finished language support
Download this release

Release Info

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

Code changes from version 1.7.0 to 1.7.1

Files changed (3) hide show
  1. languages/pubsubhubbub.pot +68 -0
  2. pubsubhubbub.php +13 -8
  3. readme.txt +6 -2
languages/pubsubhubbub.pot ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2015 Josh Fraser, Matthias Pfefferle
2
+ # This file is distributed under the same license as the PubSubHubbub package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: PubSubHubbub 1.7.1\n"
6
+ "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/pubsubhubbub\n"
7
+ "POT-Creation-Date: 2015-09-25 10:16:56+00:00\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=utf-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
12
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
+ "Language-Team: LANGUAGE <LL@li.org>\n"
14
+ "X-Generator: grunt-wp-i18n 0.5.3\n"
15
+
16
+ #: pubsubhubbub.php:198
17
+ msgid "Define custom hubs"
18
+ msgstr ""
19
+
20
+ #: pubsubhubbub.php:214
21
+ msgid "Hubs (one per line)"
22
+ msgstr ""
23
+
24
+ #: pubsubhubbub.php:223
25
+ msgid "Thanks for using PubSubHubbub!"
26
+ msgstr ""
27
+
28
+ #: pubsubhubbub.php:225
29
+ msgid ""
30
+ "Visit these links to learn more about PubSubHubbub and the author of this "
31
+ "plugin:"
32
+ msgstr ""
33
+
34
+ #: pubsubhubbub.php:227
35
+ msgid "Subscribe to %s or %s (german)"
36
+ msgstr ""
37
+
38
+ #: pubsubhubbub.php:228
39
+ msgid "Follow %s or %s on twitter"
40
+ msgstr ""
41
+
42
+ #: pubsubhubbub.php:229
43
+ msgid "Learn more about the PubSubHubbub protocol"
44
+ msgstr ""
45
+
46
+ #: pubsubhubbub.php:240
47
+ msgid "Settings"
48
+ msgstr ""
49
+
50
+ #. Plugin Name of the plugin/theme
51
+ msgid "PubSubHubbub"
52
+ msgstr ""
53
+
54
+ #. Plugin URI of the plugin/theme
55
+ msgid "https://github.com/pubsubhubbub/"
56
+ msgstr ""
57
+
58
+ #. Description of the plugin/theme
59
+ msgid "A better way to tell the world when your blog is updated."
60
+ msgstr ""
61
+
62
+ #. Author of the plugin/theme
63
+ msgid "Josh Fraser, Matthias Pfefferle"
64
+ msgstr ""
65
+
66
+ #. Author URI of the plugin/theme
67
+ msgid "http://wordpress.org/plugins/pubsubhubbub/"
68
+ msgstr ""
pubsubhubbub.php CHANGED
@@ -1,12 +1,13 @@
1
  <?php
2
  /*
3
  Plugin Name: PubSubHubbub
4
- Plugin URI: http://code.google.com/p/pubsubhubbub/
5
  Description: A better way to tell the world when your blog is updated.
6
- Version: 1.7.0
7
  Author: Josh Fraser, Matthias Pfefferle
8
  Author Email: joshfraz@gmail.com
9
- Author URI: http://wordpress.org/extend/plugins/pubsubhubbub/
 
10
  */
11
 
12
  include( 'publisher.php' );
@@ -223,9 +224,9 @@ function pshb_add_settings_page() {
223
 
224
  <p><?php _e( 'Visit these links to learn more about PubSubHubbub and the author of this plugin:', 'pubsubhubbub' ); ?></p>
225
  <ul>
226
- <li>Subscribe to <a href='http://www.onlineaspect.com'>Online Aspect</a> or <a href='http://notizblog.org/'>notizBlog</a> (german)</li>
227
- <li>Follow <a href='http://twitter.com/joshfraser'>Josh Fraser</a> or <a href='http://twitter.com/pfefferle'>Matthias Pfefferle</a> on twitter</li>
228
- <li><a href='http://code.google.com/p/pubsubhubbub/'><?php _e( 'Learn more about the PubSubHubbub protocol', 'pubsubhubbub' ); ?></a></li>
229
  </ul>
230
  </div>
231
 
@@ -265,8 +266,6 @@ add_filter( 'query_vars', 'pshb_query_var' );
265
  * @link https://github.com/pubsubhubbub/PubSubHubbub/issues/2
266
  */
267
  function pshb_template_redirect() {
268
- global $wp;
269
-
270
  // get all feeds
271
  $feed_urls = pshb_get_feed_urls();
272
  $comment_feed_urls = pshb_get_comment_feed_urls();
@@ -296,6 +295,12 @@ function pshb_register_settings() {
296
  }
297
  add_action( 'admin_init', 'pshb_register_settings' );
298
 
 
 
 
 
 
 
299
  /**
300
  * beeing backwards compatible
301
  * based on a fix by Stephen Paul Weber (http://singpolyma.net)
1
  <?php
2
  /*
3
  Plugin Name: PubSubHubbub
4
+ Plugin URI: https://github.com/pubsubhubbub/
5
  Description: A better way to tell the world when your blog is updated.
6
+ Version: 1.7.1
7
  Author: Josh Fraser, Matthias Pfefferle
8
  Author Email: joshfraz@gmail.com
9
+ Author URI: http://wordpress.org/plugins/pubsubhubbub/
10
+ Domain Path: /languages
11
  */
12
 
13
  include( 'publisher.php' );
224
 
225
  <p><?php _e( 'Visit these links to learn more about PubSubHubbub and the author of this plugin:', 'pubsubhubbub' ); ?></p>
226
  <ul>
227
+ <li><?php printf( __( 'Subscribe to %s or %s (german)' ), '<a href="http://www.onlineaspect.com">Online Aspect</a>', '<a href="http://notizblog.org/">notizBlog</a>' ) ?></li>
228
+ <li><?php printf( __( 'Follow %s or %s on twitter' ), '<a href="http://twitter.com/joshfraser">Josh Fraser</a>', '<a href="http://twitter.com/pfefferle">Matthias Pfefferle</a>' ) ?></li>
229
+ <li><a href="http://code.google.com/p/pubsubhubbub/"><?php _e( 'Learn more about the PubSubHubbub protocol', 'pubsubhubbub' ); ?></a></li>
230
  </ul>
231
  </div>
232
 
266
  * @link https://github.com/pubsubhubbub/PubSubHubbub/issues/2
267
  */
268
  function pshb_template_redirect() {
 
 
269
  // get all feeds
270
  $feed_urls = pshb_get_feed_urls();
271
  $comment_feed_urls = pshb_get_comment_feed_urls();
295
  }
296
  add_action( 'admin_init', 'pshb_register_settings' );
297
 
298
+ // Load the plugin textdomain.
299
+ function pshb_load_textdomain() {
300
+ load_plugin_textdomain( 'pubsubhubbub', false, basename( dirname( plugin_dir_path( __FILE__ ) ) ) . '/languages' );
301
+ }
302
+ add_action( 'init', 'pshb_load_textdomain' );
303
+
304
  /**
305
  * beeing backwards compatible
306
  * based on a fix by Stephen Paul Weber (http://singpolyma.net)
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: joshfraz, pfefferle
3
  Tags: pubsubhubbub, webhooks, pubsub
4
  Requires at least: 2.5
5
- Tested up to: 3.7.1
6
- Stable tag: 1.7.0
7
 
8
  A better way to tell the world when your blog is updated.
9
 
@@ -51,6 +51,10 @@ and [Matthias Pfefferle](http://pfefferle.org "Matthias Pfefferle") at [Notizblo
51
 
52
  == Changelog ==
53
 
 
 
 
 
54
  = 1.7.0 =
55
  * fixed "plugin name"
56
  * nicer docs
2
  Contributors: joshfraz, pfefferle
3
  Tags: pubsubhubbub, webhooks, pubsub
4
  Requires at least: 2.5
5
+ Tested up to: 4.3.1
6
+ Stable tag: 1.7.1
7
 
8
  A better way to tell the world when your blog is updated.
9
 
51
 
52
  == Changelog ==
53
 
54
+ = 1.7.1 =
55
+ * fixed some links
56
+ * finished language support
57
+
58
  = 1.7.0 =
59
  * fixed "plugin name"
60
  * nicer docs