diff -r 34716fd837a4 -r be944660c56a wp/wp-admin/user-edit.php
--- a/wp/wp-admin/user-edit.php Tue Dec 15 15:52:01 2020 +0100
+++ b/wp/wp-admin/user-edit.php Wed Sep 21 18:19:35 2022 +0200
@@ -27,6 +27,10 @@
wp_enqueue_script( 'user-profile' );
+if ( wp_is_application_passwords_available_for_user( $user_id ) ) {
+ wp_enqueue_script( 'application-passwords' );
+}
+
if ( IS_PROFILE_PAGE ) {
$title = __( 'Profile' );
} else {
@@ -198,7 +202,7 @@
-
+
@@ -605,7 +609,6 @@
-
-
+
@@ -648,8 +651,12 @@
-
-
+
+
+
+
+
+
@@ -657,13 +664,35 @@
-
+
+
+
+
+
+
+
+
+
+
+ display_name ) );
+ ?>
+
+
+
+
+
+ get_all() ) === 1 ) :
?>
@@ -702,6 +731,73 @@
+
+
+
+
+
+ 1 ) {
+ ?>
+
+ the %2$s site in this installation that you have permissions on.',
+ 'Application passwords grant access to all %2$s sites in this installation that you have permissions on .',
+ $blogs_count
+ ),
+ admin_url( 'my-sites.php' ),
+ number_format_i18n( $blogs_count )
+ );
+ ?>
+
+
+
+
+
+
+
+
+ 'application-passwords-user' ) );
+ $application_passwords_list_table->prepare_items();
+ $application_passwords_list_table->display();
+ ?>
+
+
+
+
+
+
+
+
+
+