From 71f7894e8a6dd3271281854c735dacd6206c59d5 Mon Sep 17 00:00:00 2001 From: Daniel Bachhuber Date: Wed, 18 Aug 2021 14:30:54 -0700 Subject: [PATCH 1/2] Fix PHPCS issues --- inc/class-wp-saml-auth.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/class-wp-saml-auth.php b/inc/class-wp-saml-auth.php index 7e1b9c4..5eb45aa 100644 --- a/inc/class-wp-saml-auth.php +++ b/inc/class-wp-saml-auth.php @@ -184,9 +184,9 @@ public function action_wp_logout() { return; } $args = array( - 'parameters' => array(), - 'nameId' => null, - 'sessionIndex' => null, + 'parameters' => array(), + 'nameId' => null, + 'sessionIndex' => null, ); /** * Permit the arguments passed to the logout() method to be customized. From 7bc1819e7d1a583220fc14b19b38c659df6c6f93 Mon Sep 17 00:00:00 2001 From: Daniel Bachhuber Date: Wed, 18 Aug 2021 14:32:40 -0700 Subject: [PATCH 2/2] Update README for v1.2.5 --- README.md | 5 ++++- readme.txt | 5 ++++- wp-saml-auth.php | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c1e4553..0ef4748 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ **Tags:** authentication, SAML **Requires at least:** 4.4 **Tested up to:** 5.8 -**Stable tag:** 1.2.4 +**Stable tag:** 1.2.5 **License:** GPLv2 or later **License URI:** http://www.gnu.org/licenses/gpl-2.0.html @@ -277,6 +277,9 @@ There is no third step. Because SimpleSAMLphp loads WordPress, which has WP Nati ## Changelog ## +### 1.2.5 (August 18, 2021) ### +* Fixes undefined index notice introduced in 1.2.4 [[#257](https://github.com/pantheon-systems/wp-saml-auth/pull/257)]. + ### 1.2.4 (August 18, 2021) ### * Adds a `wp_saml_auth_internal_logout_args` filter to allow the internal logout args to be filterable [[#255](https://github.com/pantheon-systems/wp-saml-auth/pull/255)]. diff --git a/readme.txt b/readme.txt index 8d02314..be21112 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: getpantheon, danielbachhuber, Outlandish Josh Tags: authentication, SAML Requires at least: 4.4 Tested up to: 5.8 -Stable tag: 1.2.4 +Stable tag: 1.2.5 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -277,6 +277,9 @@ There is no third step. Because SimpleSAMLphp loads WordPress, which has WP Nati == Changelog == += 1.2.5 (August 18, 2021) = +* Fixes undefined index notice introduced in 1.2.4 [[#257](https://github.com/pantheon-systems/wp-saml-auth/pull/257)]. + = 1.2.4 (August 18, 2021) = * Adds a `wp_saml_auth_internal_logout_args` filter to allow the internal logout args to be filterable [[#255](https://github.com/pantheon-systems/wp-saml-auth/pull/255)]. diff --git a/wp-saml-auth.php b/wp-saml-auth.php index 63907c4..19d5f7e 100644 --- a/wp-saml-auth.php +++ b/wp-saml-auth.php @@ -1,7 +1,7 @@