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

Rename Lock option class and remove deprecated #739

Merged
merged 2 commits into from
Dec 5, 2019

Conversation

joshcanhelp
Copy link
Contributor

@joshcanhelp joshcanhelp commented Dec 3, 2019

Changes

  • Renamed WP_Auth0_Lock10_Options to WP_Auth0_Lock
  • Removed renderAuth0Form() and moved functionality to WP_Auth0_Lock::render()
  • Removed WP_Auth0_Lock10_Options::get_client_id()
  • Removed WP_Auth0_Lock10_Options::get_domain()
  • Removed WP_Auth0_Lock10_Options::is_registration_enabled()
  • Removed WP_Auth0_Lock10_Options::show_as_modal()
  • Removed WP_Auth0_Lock10_Options::_get_boolean()
  • Removed WP_Auth0_Lock10_Options::get_callback_protocol()
  • Removed WP_Auth0_Lock10_Options::get_lock_classname()
  • Removed WP_Auth0_Lock10_Options::can_show()
  • Removed WP_Auth0_Lock10_Options::get_cdn_url()
  • Removed WP_Auth0_Lock10_Options::get_wordpress_login_enabled()
  • Removed WP_Auth0_Lock10_Options::set_signup_mode()
  • Removed WP_Auth0_Lock10_Options::get_lock_show_method()
  • Removed WP_Auth0_Lock10_Options::modal_button_name()
  • Removed WP_Auth0_Lock10_Options::get_custom_signup_fields()
  • Removed WP_Auth0_Lock10_Options::has_custom_signup_fields()

@@ -0,0 +1,213 @@
<?php
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nothing actually new in this file:

  • Renamed
  • Removed deprecated methods
  • Added render() method from renderAuth0Form() in templates/login-form.php

@joshcanhelp joshcanhelp added this to the 4.0.0 milestone Dec 3, 2019
@joshcanhelp joshcanhelp marked this pull request as ready for review December 3, 2019 23:17
@joshcanhelp joshcanhelp requested a review from a team December 3, 2019 23:17
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.

👍 Thinking in terms of changelog clarify. Wouldn't it be better to keep this for the removed stuff and create a separate PR for the renaming?

@joshcanhelp joshcanhelp merged commit 4480011 into master Dec 5, 2019
@joshcanhelp joshcanhelp deleted the remove-deprecated-from-lock-opts branch December 5, 2019 15:37
@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.

None yet

2 participants