-
Notifications
You must be signed in to change notification settings - Fork 96
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 the Auto Login setting to ULP; move to features tab #551
Conversation
c262524
to
9b121aa
Compare
public function render_auto_login( $args = array() ) { | ||
$this->render_switch( $args['label_for'], $args['opt_name'], 'wpa0_auto_login_method' ); | ||
$this->render_field_description( | ||
__( 'Use the Universal Login Page (ULP) for authentication. ', 'wp-auth0' ) . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is the only place you use (ULP)
(in this PR at least). not a deal breaker for me, your call.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@luisrudge - Used on line 225 below as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
damn tunnel vision. I was looking in other code blocks 😬
$this->render_switch( $args['label_for'], $args['opt_name'], 'wpa0_auto_login_method' ); | ||
$this->render_field_description( | ||
__( 'Use the Universal Login Page (ULP) for authentication. ', 'wp-auth0' ) . | ||
__( 'When turned on, <code>wp-login.php</code> will be redirected to the hosted login page. ', 'wp-auth0' ) . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will redirect instead of will be redirected?
Codecov Report
@@ Coverage Diff @@
## master #551 +/- ##
============================================
- Coverage 15.36% 15.32% -0.05%
- Complexity 1605 1606 +1
============================================
Files 69 69
Lines 5473 5489 +16
============================================
Hits 841 841
- Misses 4632 4648 +16
Continue to review full report at Codecov.
|
Changes
There has been some general confusion around how to use the ULP with this plugin. This PR moves the setting to be more visible and changes the name to more clearly explain what the setting does. I left a reference from the old setting to the new one to help with UX.
References
Universal Login vs Embedded
Testing
No functionality changes so no testing needed.