diff --git a/includes/classes/Authentication/Passwords.php b/includes/classes/Authentication/Passwords.php index 3fa76f1..7c7ddd2 100644 --- a/includes/classes/Authentication/Passwords.php +++ b/includes/classes/Authentication/Passwords.php @@ -70,10 +70,7 @@ public function register_setting() { esc_html__( 'Require Strong Passwords', 'tenup' ), [ $this, 'settings_ui' ], 'general', - 'default', - array( - 'label_for' => 'require-strong-passwords', - ) + 'default' ); } @@ -141,12 +138,21 @@ public function ms_settings() { - + - type="radio" id="require-strong-passwords-yes" value="1">
- type="radio" id="require-strong-passwords-no" value="0"> -

+
+ +
+ +

+
@@ -163,9 +169,18 @@ public function settings_ui() { $require_strong_passwords = $this->require_strong_passwords(); ?> - type="radio" id="require-strong-passwords-yes" value="1">
- type="radio" id="require-strong-passwords-no" value="0"> -

+
+ +
+ +

+
comments_are_disabled(); ?> - - is_ui_disabled() ); - ?> - /> -
- - is_ui_disabled() ); - ?> - /> - -

+
+ +
+ +

+
- is_ui_disabled() ); - ?> - type="radio" id="tenup_disable_comments_yes" value="yes">
- is_ui_disabled() ); - ?> - type="radio" id="tenup_disable_comments_no" value="no"> +
+ +
+ +
diff --git a/includes/classes/Gutenberg/Gutenberg.php b/includes/classes/Gutenberg/Gutenberg.php index 286a9d8..d37ae15 100644 --- a/includes/classes/Gutenberg/Gutenberg.php +++ b/includes/classes/Gutenberg/Gutenberg.php @@ -43,10 +43,7 @@ public function disable_gutenberg_editor_setting() { esc_html__( 'Use Classic Editor', 'tenup' ), [ $this, 'gutenberg_settings_ui' ], 'writing', - 'default', - array( - 'label_for' => 'disable-gutenberg-editor', - ) + 'default' ); } @@ -61,10 +58,10 @@ public function gutenberg_settings_ui() { ?>
-

+

-

+ +
'password-protect', - ) + 'default' ); } @@ -61,10 +58,10 @@ public function settings_ui() { ?>
-

+

-

+ +
- type="radio" id="tenup_allow_sso_yes" value="yes">
- type="radio" id="tenup_allow_sso_no" value="no"> +
+ +
+ +
@@ -157,17 +166,18 @@ public function validate_sso_setting( $value ) { public function sso_setting_field_output() { $allow_sso = $this->get_setting(); ?> - - /> -
- - /> - -

+
+ +
+ +

+
get_setting( 'enable_support_monitor' ); ?> - is_local_environment() ); ?> type="radio" id="tenup_enable_support_monitor_yes" value="yes">
- is_local_environment() ); ?> type="radio" id="tenup_enable_support_monitor_no" value="no"> +
+ +
+ +