Skip to content

Commit

Permalink
refactor: removed empty line
Browse files Browse the repository at this point in the history
  • Loading branch information
SH4LIN committed Aug 6, 2024
1 parent 76daac3 commit 51fab1d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Modules/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,15 +240,14 @@ public function cookie_expiry_field(): void {
<input placeholder="<?php esc_attr_e( 'Number of days, e.g., 12', 'login-with-google' ); ?>" type='number' inputmode='numeric' name='wp_google_login_settings[cookie_expiry]' id='cookie-expiry' value='<?php echo esc_attr( $days ); ?>' autocomplete='off' />
</div>
<p class='description'>
<?php echo esc_html__( 'The number of days after which the user will be logged out automatically.', 'login-with-google' ); ?>
<?php echo esc_html__( 'The number of days after which the user will be automatically logged out (applicable only for Google login).', 'login-with-google' ); ?>
</p>

<p class='<?php echo esc_attr( $warning_classes ); ?>'>
<?php
echo esc_html__( 'Setting a cookie expiry for more than 14 days can have security implications. Proceed with caution!', 'login-with-google' );
?>
</p>

<?php
}

Expand Down

0 comments on commit 51fab1d

Please sign in to comment.