Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate a0_render_message method #558

Merged
merged 2 commits into from
Oct 5, 2018
Merged

Conversation

joshcanhelp
Copy link
Contributor

Deprecation docblocks and error triggering for the unused a0_render_message method in the WP_Auth0 class.

No functional changes 👍

@joshcanhelp joshcanhelp added this to the v3-Next milestone Oct 5, 2018
*/
public function a0_render_message() {
$message = null;

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this print the warning like you do in other methods?

trigger_error( sprintf( __( 'Method %s is deprecated.', 'wp-auth0' ), __METHOD__ ), E_USER_DEPRECATED );

@auth0 auth0 deleted a comment from codecov-io Oct 5, 2018
Copy link
Contributor

@lbalmaceda lbalmaceda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🆗

@auth0 auth0 deleted a comment from codecov-io Oct 5, 2018
@joshcanhelp joshcanhelp merged commit 15c3227 into master Oct 5, 2018
@joshcanhelp joshcanhelp deleted the deprecate-a0-render-message branch October 5, 2018 15:42
@auth0 auth0 deleted a comment from codecov-io Oct 5, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants