From bcf881cbacc573b9dd6442cf95049e82a96e5b57 Mon Sep 17 00:00:00 2001 From: Josh Cunningham Date: Thu, 8 Feb 2018 16:55:41 +0200 Subject: [PATCH] removed changelog entries older than 3.x; reverted convertCertToPem deprecation --- lib/WP_Auth0_Api_Client.php | 25 +++-------- readme.txt | 86 +------------------------------------ 2 files changed, 6 insertions(+), 105 deletions(-) diff --git a/lib/WP_Auth0_Api_Client.php b/lib/WP_Auth0_Api_Client.php index 4096c46a..394aa71b 100755 --- a/lib/WP_Auth0_Api_Client.php +++ b/lib/WP_Auth0_Api_Client.php @@ -1048,11 +1048,11 @@ public static function update_guardian($domain, $app_token, $factor, $enabled) { * * @return string */ - protected static function convert_cert_to_pem( $cert ) { - return '-----BEGIN CERTIFICATE-----'.PHP_EOL - .chunk_split($cert, 64, PHP_EOL) - .'-----END CERTIFICATE-----'.PHP_EOL; - } + protected static function convertCertToPem( $cert ) { + return '-----BEGIN CERTIFICATE-----'.PHP_EOL + . chunk_split($cert, 64, PHP_EOL) + . '-----END CERTIFICATE-----'.PHP_EOL; + } public static function JWKfetch($domain) { @@ -1111,19 +1111,4 @@ public static function get_client_grant_types() { 'client_credentials', ); } - - /** - * DEPRECATED 3.5.2 - * Deprecated in favor of a static method - * - * @see self::convert_cert_to_pem() - * - * @param string $cert - * - * @return string - */ - protected function convertCertToPem( $cert ) { - trigger_error( sprintf( __( 'Method %s is deprecated.', 'wp-auth0' ), __METHOD__ ), E_USER_DEPRECATED ); - return self::convert_cert_to_pem( $cert ); - } } \ No newline at end of file diff --git a/readme.txt b/readme.txt index af0a3f2f..78d6e02f 100644 --- a/readme.txt +++ b/readme.txt @@ -208,88 +208,4 @@ Have in mind that all the "Extra settings" that we allow to set up in the plugin = 3.1.1 = -[Details](https://github.com/auth0/wp-auth0/blob/master/CHANGELOG.md#311-2016-06-06) - -= 2.2.0 = - -[Details](https://github.com/auth0/wp-auth0/blob/master/CHANGELOG.md#220-2016-05-11) - -= 2.1.11 = - -[Details](https://github.com/auth0/wp-auth0/blob/master/CHANGELOG.md#2111-2016-04-27) - -= 2.1.9 = - -[Details](https://github.com/auth0/wp-auth0/blob/master/CHANGELOG.md#219-2016-04-07) - -= 2.1.8 = - -[Details](https://github.com/auth0/wp-auth0/blob/master/CHANGELOG.md#218-2016-04-05) - -= 2.1.7 = - -[Details](https://github.com/auth0/wp-auth0/blob/master/CHANGELOG.md#217-2016-04-05) - -= 2.1.6 = - -[Details](https://github.com/auth0/wp-auth0/blob/master/CHANGELOG.md#216-2016-03-23) - -= 2.1.5 = - -[Details](https://github.com/auth0/wp-auth0/blob/master/CHANGELOG.md#215-2016-03-23) - -= 2.1.4 = - -[Details](https://github.com/auth0/wp-auth0/blob/master/CHANGELOG.md#214-2016-03-18) - -= 2.1.3 = - -[Details](https://github.com/auth0/wp-auth0/blob/master/CHANGELOG.md#213-2016-03-16) - -= 2.1.2 = - -[Details](https://github.com/auth0/wp-auth0/blob/master/CHANGELOG.md#212-2016-03-15) - -= 2.1.1 = - -[Details](https://github.com/auth0/wp-auth0/blob/master/CHANGELOG.md#211-2016-03-11) - -= 2.1.0 = - -[Details](https://github.com/auth0/wp-auth0/blob/master/CHANGELOG.md#210-2016-03-08) - -= 2.0.0 = - -[Details](https://github.com/auth0/wp-auth0/blob/master/CHANGELOG.md#200-2016-03-01) - -= 1.3.6 = - -[Details](https://github.com/auth0/wp-auth0/blob/master/CHANGELOG.md#136-2015-10-01) - -= 1.3.1 = - -[Details](https://github.com/auth0/wp-auth0/blob/master/CHANGELOG.md#131-2015-06-10) - -= 1.3.0 = - -[Details](https://github.com/auth0/wp-auth0/blob/master/CHANGELOG.md#130-2015-06-01) - -= 1.2.7 = - -[Details](https://github.com/auth0/wp-auth0/blob/master/CHANGELOG.md#127-2015-05-28) - -= 1.2.4 = - -[Details](https://github.com/auth0/wp-auth0/blob/master/CHANGELOG.md#124-2015-05-21) - -= 1.2.3 = - -[Details](https://github.com/auth0/wp-auth0/blob/master/CHANGELOG.md#123-2015-05-19) - -= 1.2.2 = - -[Details](https://github.com/auth0/wp-auth0/blob/master/CHANGELOG.md#122-2015-05-19) - -= 1.2.1 = - -[Details](https://github.com/auth0/wp-auth0/blob/master/CHANGELOG.md#121-2015-05-14) \ No newline at end of file +[Details](https://github.com/auth0/wp-auth0/blob/master/CHANGELOG.md#311-2016-06-06) \ No newline at end of file