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

Combine all Lock-related settings on an Embedded tab #668

Merged
merged 1 commit into from
Apr 11, 2019

Conversation

joshcanhelp
Copy link
Contributor

@joshcanhelp joshcanhelp commented Apr 9, 2019

Changes

  • Change options tab name from "Appearance" to "Embedded"
  • Move all Lock-related settings to the Embedded tab
  • Do not show "Language Dictionary" setting if it is empty. Use "Extra Settings" on the same tab for this functionality
  • Deprecate internal-only functions related to this change

Note for reviewers: Ignore languages/wp-auth0-es_ES.mo, languages/wp-auth0-es_ES.po, and languages/wp-auth0.pot. All changes there appear in the code itself (strings and translations).

@joshcanhelp joshcanhelp added this to the 3.10.0 milestone Apr 9, 2019
@@ -65,30 +65,12 @@ public function init() {
'id' => 'wpa0_default_login_redirection',
'function' => 'render_default_login_redirection',
),
array(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

All of these were moved to lib/admin/WP_Auth0_Admin_Appearance.php

@@ -253,10 +223,14 @@ public function render_default_login_redirection( $args = array() ) {
* Render form field and description for the `lock_connections` option.
* IMPORTANT: Internal callback use only, do not call this function directly!
*
* @deprecated - 3.10.0, moved to Features section.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Deprecating here, a deprecation PR for methods marked as internal seemed overkill.

),
);
$this->init_option_section( '', 'appearance', $options );
}

/**
Copy link
Contributor Author

Choose a reason for hiding this comment

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

All of these methods existed in the plugin already (see deprecated methods above).

);
}

/**
Copy link
Contributor Author

Choose a reason for hiding this comment

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

All of these methods existed in the plugin already (see deprecated methods above).

@joshcanhelp joshcanhelp merged commit fde4f13 into master Apr 11, 2019
@joshcanhelp joshcanhelp deleted the change-settings-page-docs branch April 11, 2019 14:41
@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