From 7b4cce30d48b7c90591fe4991dd20ea7f92eb7ac Mon Sep 17 00:00:00 2001 From: Mike Selander Date: Mon, 17 Sep 2018 17:01:41 -0600 Subject: [PATCH] Properly space these --- class.two-factor-force.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/class.two-factor-force.php b/class.two-factor-force.php index 1c00137c..086148cc 100644 --- a/class.two-factor-force.php +++ b/class.two-factor-force.php @@ -127,7 +127,7 @@ public static function maybe_display_2fa_settings() { $url = admin_url(); if ( isset( $_GET['redirect_to'] ) ) { - //phpcs:ignore This IS the proper sanitization for URLs. + // phpcs:ignore This IS the proper sanitization for URLs. $url = esc_url_raw( urldecode( $_GET['redirect_to'] ) ); } @@ -398,7 +398,7 @@ public static function save_network_force_two_factor_update() { check_admin_referer( 'force_two_factor_options', '_nonce_force_two_factor_options' ); // Validate and save universally forced key. - //phpcs:ignore The value from $_POST is not saved, only 1 or 0 can be. + // phpcs:ignore The value from $_POST is not saved, only 1 or 0 can be. if ( isset( $_POST[ self::FORCED_SITE_META_KEY ] ) && $_POST[ self::FORCED_SITE_META_KEY ] ) { update_site_option( self::FORCED_SITE_META_KEY, 1 ); } else { @@ -414,7 +414,7 @@ public static function save_network_force_two_factor_update() { } // Whitelist roles against valid WordPress role slugs. - //phpcs:ignore Our validation method below only accepts whitelisted strings from `editable_roles`. + // phpcs:ignore Our validation method below only accepts whitelisted strings from `editable_roles`. $roles = self::validate_forced_roles( $_POST[ self::FORCED_ROLES_META_KEY ] ); update_site_option( self::FORCED_ROLES_META_KEY, $roles );