diff --git a/includes/core/class-fields.php b/includes/core/class-fields.php index ea9eb129..b910d2f4 100644 --- a/includes/core/class-fields.php +++ b/includes/core/class-fields.php @@ -36,15 +36,16 @@ if ( ! class_exists( 'um\core\Fields' ) ) { * * @param integer $id * @param string $title + * @param bool $checked */ - function checkbox( $id, $title ) { - ?> + function checkbox( $id, $title, $checked = true ) { + $class = $checked ? 'um-icon-android-checkbox-outline' : 'um-icon-android-checkbox-outline-blank'; ?>
-
diff --git a/includes/core/um-actions-login.php b/includes/core/um-actions-login.php index 7c4c7fc1..1bfe11ca 100644 --- a/includes/core/um-actions-login.php +++ b/includes/core/um-actions-login.php @@ -420,7 +420,7 @@ function um_add_submit_button_to_login( $args ) {
fields()->checkbox('rememberme', __('Keep me signed in','ultimate-member') ); + UM()->fields()->checkbox( 'rememberme', __( 'Keep me signed in', 'ultimate-member' ), false ); echo '
'; } ?> diff --git a/readme.txt b/readme.txt index 663b93b4..c47ec432 100644 --- a/readme.txt +++ b/readme.txt @@ -139,7 +139,15 @@ The plugin works with popular caching plugins by automatically excluding Ultimat = 2.0.34: December , 2018 = +* Enhancements: + - Added new "Extensions" class for future integrations + * Bugfixes: + - Fixed modal window responsive position + - Fixed class autoloader for Windows servers + - Fixed admin forms integration + - Fixed empty value for select2 selectbox + - Fixed unchecked Remember Me by default on login page * Deprecated: - removed "UM_TEXTDOMAIN" constant;