<?php
_e( 'Add New Application Password'
); ?></button>
</div>
<?php
else : ?>
<div class="notice notice-error inline">
<p><?php
_e( 'Your website appears to use Basic Authentication, which is not currently compatible with Application Passwords.'
); ?></p>
</div>
<?php
endif; ?>
<div class="application-passwords-list-table-wrapper">
<?php
$application_passwords_list_table =
_get_list_table( 'WP_Application_Passwords_List_Table', array
( 'screen' => 'application-passwords-user'
) );
$application_passwords_list_table->
prepare_items();
$application_passwords_list_table->
display();
?>
</div>
<?php
elseif ( !
wp_is_application_passwords_supported() ) : ?>
<p><?php
_e( 'The application password feature requires HTTPS, which is not enabled on this site.'
); ?></p>
<p>
<?php
printf( /* translators: %s: Documentation URL. */
__( 'If this is a development website you can <a href="%s" target="_blank">set the environment type accordingly</a> to enable application passwords.'
),
__( 'https://developer.wordpress.org/apis/wp-config-php/#wp-environment-type'
) );