Skip to content

Commit

Permalink
removed changelog entries older than 3.x; reverted convertCertToPem d…
Browse files Browse the repository at this point in the history
…eprecation
  • Loading branch information
joshcanhelp committed Feb 8, 2018
1 parent 87db497 commit bcf881c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 105 deletions.
25 changes: 5 additions & 20 deletions lib/WP_Auth0_Api_Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {

Expand Down Expand Up @@ -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 );
}
}
86 changes: 1 addition & 85 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
[Details](https://github.com/auth0/wp-auth0/blob/master/CHANGELOG.md#311-2016-06-06)

0 comments on commit bcf881c

Please sign in to comment.