Skip to content

Commit f27e8b8

Browse files
authored
Merge pull request #239 from dshanske/iss237
Resolve Issue 237
2 parents 2cd1538 + c8f590f commit f27e8b8

File tree

5 files changed

+17
-12
lines changed

5 files changed

+17
-12
lines changed

includes/class-indieauth-metadata-endpoint.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,6 @@ public static function html_header() {
5757
'rel' => array(),
5858
),
5959
);
60-
if ( empty( $auth ) || empty( $token ) ) {
61-
return;
62-
}
6360
if ( is_author() || is_front_page() ) {
6461
echo wp_kses( sprintf( '<link rel="indieauth-metadata" href="%s" />' . PHP_EOL, static::get_metadata_endpoint() ), $kses );
6562
}

indieauth.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: IndieAuth
44
* Plugin URI: https://github.com/indieweb/wordpress-indieauth/
55
* Description: IndieAuth is a way to allow users to use their own domain to sign into other websites and services
6-
* Version: 4.2.0
6+
* Version: 4.2.1
77
* Author: IndieWebCamp WordPress Outreach Club
88
* Author URI: https://indieweb.org/WordPress_Outreach_Club
99
* License: MIT

languages/indieauth.pot

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
# Copyright (C) 2021 IndieWebCamp WordPress Outreach Club
1+
# Copyright (C) 2022 IndieWebCamp WordPress Outreach Club
22
# This file is distributed under the MIT.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: IndieAuth 4.2.0\n"
5+
"Project-Id-Version: IndieAuth 4.2.1\n"
66
"Report-Msgid-Bugs-To: "
77
"https://wordpress.org/support/plugin/wordpress-indieauth\n"
8-
"POT-Creation-Date: 2021-12-02 14:38:26+00:00\n"
8+
"POT-Creation-Date: 2022-12-21 15:18:26+00:00\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=utf-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"
12-
"PO-Revision-Date: 2021-MO-DA HO:MI+ZONE\n"
12+
"PO-Revision-Date: 2022-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
1515
"X-Generator: grunt-wp-i18n 1.0.3\n"

readme.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
**Tags:** IndieAuth, IndieWeb, IndieWebCamp, login
44
**Requires at least:** 4.9.9
55
**Requires PHP:** 5.6
6-
**Tested up to:** 5.8
7-
**Stable tag:** 4.2.0
6+
**Tested up to:** 6.1
7+
**Stable tag:** 4.2.1
88
**License:** MIT
99
**License URI:** http://opensource.org/licenses/MIT
1010
**Donate link:** https://opencollective.com/indieweb
@@ -177,6 +177,10 @@ In version 2.0, we added an IndieAuth endpoint to this plugin, which previously
177177

178178
Project and support maintained on github at [indieweb/wordpress-indieauth](https://github.com/indieweb/wordpress-indieauth).
179179

180+
### 4.2.1 ###
181+
* Fix issue with not loading User Token library with old remote endpoint code
182+
* Fix issue with not loading metadata endpoint when not logging in
183+
180184
### 4.2.0 ###
181185

182186
* Add Server Metadata Endpoint

readme.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Contributors: indieweb, pfefferle, dshanske
33
Tags: IndieAuth, IndieWeb, IndieWebCamp, login
44
Requires at least: 4.9.9
55
Requires PHP: 5.6
6-
Tested up to: 5.8
7-
Stable tag: 4.2.0
6+
Tested up to: 6.1
7+
Stable tag: 4.2.1
88
License: MIT
99
License URI: http://opensource.org/licenses/MIT
1010
Donate link: https://opencollective.com/indieweb
@@ -177,6 +177,10 @@ In version 2.0, we added an IndieAuth endpoint to this plugin, which previously
177177

178178
Project and support maintained on github at [indieweb/wordpress-indieauth](https://github.com/indieweb/wordpress-indieauth).
179179

180+
= 4.2.1 =
181+
* Fix issue with not loading User Token library with old remote endpoint code
182+
* Fix issue with not loading metadata endpoint when not logging in
183+
180184
= 4.2.0 =
181185

182186
* Add Server Metadata Endpoint

0 commit comments

Comments
 (0)