admin_url('admin-ajax.php'), '_ajax_nonce' => wp_create_nonce('wwa_ajax'), 'user_id' => $user->ID, 'i18n_1' => __('Initializing...', 'wp-webauthn'), 'i18n_2' => __('Please follow instructions to finish registration...', 'wp-webauthn'), 'i18n_3' => ''._x('Registered', 'action', 'wp-webauthn').'', 'i18n_4' => ''.__('Registration failed', 'wp-webauthn').'', 'i18n_5' => __('Your browser does not support WebAuthn', 'wp-webauthn'), 'i18n_6' => __('Registrating...', 'wp-webauthn'), 'i18n_7' => __('Please enter the authenticator identifier', 'wp-webauthn'), 'i18n_8' => __('Loading failed, maybe try refreshing?', 'wp-webauthn'), 'i18n_9' => __('Any', 'wp-webauthn'), 'i18n_10' => __('Platform authenticator', 'wp-webauthn'), 'i18n_11' => __('Roaming authenticator', 'wp-webauthn'), 'i18n_12' => __('Remove', 'wp-webauthn'), 'i18n_13' => __('Please follow instructions to finish verification...', 'wp-webauthn'), 'i18n_14' => __('Verifying...', 'wp-webauthn'), 'i18n_15' => ''.__('Verification failed', 'wp-webauthn').'', 'i18n_16' => ''.(wwa_get_option('terminology') === 'webauthn' ? __('Verification passed! You can now log in through WebAuthn', 'wp-webauthn') : __('Verification passed! You can now log in with this passkey', 'wp-webauthn')).'', 'i18n_17' => __('No registered authenticators', 'wp-webauthn'), 'i18n_18' => __('Confirm removal of authenticator: ', 'wp-webauthn'), 'i18n_19' => __('Removing...', 'wp-webauthn'), 'i18n_20' => __('Rename', 'wp-webauthn'), 'i18n_21' => __('Rename the authenticator', 'wp-webauthn'), 'i18n_22' => __('Renaming...', 'wp-webauthn'), 'i18n_24' => __('Ready', 'wp-webauthn'), 'i18n_25' => __('No', 'wp-webauthn'), 'i18n_26' => __(' (Unavailable)', 'wp-webauthn'), 'i18n_27' => __('The site administrator has disabled usernameless login feature.', 'wp-webauthn'), // translators: %s: 'WebAuthn' or 'passkey' 'i18n_28' => sprintf(__('After removing this authenticator, you will not be able to login with %s', 'wp-webauthn'), $wwa_term ? 'WebAuthn' : __('Passkey', 'wp-webauthn')), 'i18n_29' => __(' (Disabled)', 'wp-webauthn'), 'i18n_30' => __('The site administrator only allow platform authenticators currently.', 'wp-webauthn'), 'i18n_31' => __('The site administrator only allow roaming authenticators currently.', 'wp-webauthn') )); wp_enqueue_style('wwa_profile', plugins_url('css/admin.css', __FILE__)); wp_localize_script('wwa_profile', 'configs', array( 'usernameless' => (wwa_get_option('usernameless_login') === false ? "false" : wwa_get_option('usernameless_login')), 'allow_authenticator_type' => (wwa_get_option('allow_authenticator_type') === false ? "none" : wwa_get_option('allow_authenticator_type')), 'show_authenticator_type' => (wwa_get_option('show_authenticator_type') === false ? "true" : wwa_get_option('show_authenticator_type')) )); ?>

WebAuthn

get_var($wpdb->prepare( "SELECT COUNT(*) FROM {$wpdb->wwa_credentials} WHERE user_id = %d AND registered_blog_id = %d", $user->ID, get_current_blog_id() ))); } if($count === 0){ ?>



  

%2$s.
You can register multiple %3$s for an account.', 'wp-webauthn'), $wwa_term_singular, esc_html($user->user_login), $wwa_term_plural), array('strong' => array(), 'br' => array()));?>

Regardless of the type, you can only log in with the very same authenticators you\'ve registered.', 'wp-webauthn'), array('br' => array()));?>

DOES NOT affect the authentication process in anyway.', 'wp-webauthn'), array('strong' => array()));?>



Some authenticators like U2F-only authenticators and some browsers DO NOT support this feature.
A record will be stored in the authenticator permanently untill you reset it.', 'wp-webauthn'), array('br' => array(), 'strong' => array()));?>