diff --git a/includes/class-webfinger.php b/includes/class-webfinger.php index af9daa1..81e0a49 100644 --- a/includes/class-webfinger.php +++ b/includes/class-webfinger.php @@ -421,7 +421,7 @@ public static function get_user_resource( $id_or_name_or_object, $with_protocol $resource = $user->user_login . '@' . parse_url( home_url(), PHP_URL_HOST ); if ( $with_protocol ) { - 'acct:' . $resource; + $resource = 'acct:' . $resource; } } diff --git a/languages/webfinger.pot b/languages/webfinger.pot index 436aceb..cff6c9c 100644 --- a/languages/webfinger.pot +++ b/languages/webfinger.pot @@ -2,10 +2,10 @@ # This file is distributed under the MIT. msgid "" msgstr "" -"Project-Id-Version: WebFinger 3.2.2\n" +"Project-Id-Version: WebFinger 3.2.3\n" "Report-Msgid-Bugs-To: " "https://wordpress.org/support/plugin/wordpress-webfinger\n" -"POT-Creation-Date: 2018-11-03 17:17:02+00:00\n" +"POT-Creation-Date: 2018-11-03 17:27:52+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/readme.md b/readme.md index 6508615..a378e49 100644 --- a/readme.md +++ b/readme.md @@ -4,7 +4,7 @@ **Tags:** well-known, discovery, webfinger, JRD, ostatus, activitypub **Requires at least:** 4.2 **Tested up to:** 4.9.8 -**Stable tag:** 3.2.2 +**Stable tag:** 3.2.3 **License:** MIT **License URI:** https://opensource.org/licenses/MIT @@ -67,6 +67,10 @@ This versions drops classic WebFinger support to keep the plugin short and simpl Project maintained on github at [pfefferle/wordpress-webfinger](https://github.com/pfefferle/wordpress-webfinger). +### 3.2.3 ### + +* fixed `acct` scheme for discovery + ### 3.2.2 ### * fixed typo (thanks @ivucica) diff --git a/readme.txt b/readme.txt index 1d39877..08fd3d5 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Donate link: https://notiz.blog/donate/ Tags: well-known, discovery, webfinger, JRD, ostatus, activitypub Requires at least: 4.2 Tested up to: 4.9.8 -Stable tag: 3.2.2 +Stable tag: 3.2.3 License: MIT License URI: https://opensource.org/licenses/MIT @@ -67,6 +67,10 @@ This versions drops classic WebFinger support to keep the plugin short and simpl Project maintained on github at [pfefferle/wordpress-webfinger](https://github.com/pfefferle/wordpress-webfinger). += 3.2.3 = + +* fixed `acct` scheme for discovery + = 3.2.2 = * fixed typo (thanks @ivucica) diff --git a/webfinger.php b/webfinger.php index dc372bc..51cddbf 100644 --- a/webfinger.php +++ b/webfinger.php @@ -3,7 +3,7 @@ * Plugin Name: WebFinger * Plugin URI: https://github.com/pfefferle/wordpress-webfinger * Description: WebFinger for WordPress - * Version: 3.2.2 + * Version: 3.2.3 * Author: Matthias Pfefferle * Author URI: https://notiz.blog/ * License: MIT