--- C:/Users/Ciprian/AppData/Local/Temp/user-edit.php-revWC.svn000.tmp.php	Wed Dec  9 10:16:21 2020
+++ C:/Users/Ciprian/AppData/Local/Temp/user-edit.php-revHEAD.svn000.tmp.php	Fri Dec  4 21:44:07 2020
@@ -711,28 +711 @@ endif;
-<?php if ( wp_is_application_passwords_available_for_user( $user_id ) ) : ?>
-	<tr class="application-passwords hide-if-no-js" id="application-passwords-section">
-		<th><?php _e( 'Application Passwords' ); ?></th>
-        <td>
-            <p><?php _e( 'Application passwords allow authentication via non-interactive systems, such as XML-RPC or the REST API, without providing your actual password. Application passwords can be easily revoked. They cannot be used for traditional logins to your website.' ); ?></p>
-                <?php
-                if ( is_multisite() ) {
-                    $blogs       = get_blogs_of_user( $user_id, true );
-                    $blogs_count = count( $blogs );
-                    if ( $blogs_count > 1 ) {
-                        ?>
-                        <p>
-                            <?php
-                            printf(
-                                /* translators: 1: URL to my-sites.php, 2: Number of blogs the user has. */
-                                _n(
-                                    'Application passwords grant access to <a href="%1$s">the %2$s blog in this installation that you have permissions on</a>.',
-                                    'Application passwords grant access to <a href="%1$s">all %2$s blogs in this installation that you have permissions on</a>.',
-                                    $blogs_count
-                                ),
-                                admin_url( 'my-sites.php' ),
-                                number_format_i18n( $blogs_count )
-                            );
-                            ?>
-                        </p>
-                        <?php
-                    }
-                }
+	</table>
@@ -740,8 +712,0 @@ endif;
-                if ( empty( $_SERVER['PHP_AUTH_USER'] ) && empty( $_SERVER['PHP_AUTH_PW'] ) ) {
-                    ?>
-                <div class="create-application-password form-wrap">
-                    <div class="form-field">
-                        <label for="new_application_password_name"><?php _e( 'New Application Password Name' ); ?></label>
-                        <input type="text" size="30" id="new_application_password_name" name="new_application_password_name" placeholder="<?php esc_attr_e( 'WordPress App on My Phone' ); ?>" class="input" aria-required="true" aria-describedby="new_application_password_name_desc" />
-                        <p class="description" id="new_application_password_name_desc"><?php _e( 'Required to create an Application Password, but not to update the user.' ); ?></p>
-                    </div>
@@ -749,10 +714,27 @@ endif;
-                    <?php
-                    /**
-                     * Fires in the create Application Passwords form.
-                     *
-                     * @since 5.6.0
-                     *
-                     * @param WP_User $profileuser The current WP_User object.
-                     */
-                    do_action( 'wp_create_application_password_form', $profileuser );
-                    ?>
+		<?php if ( wp_is_application_passwords_available_for_user( $user_id ) ) : ?>
+	<div class="application-passwords hide-if-no-js" id="application-passwords-section">
+		<h2><?php _e( 'Application Passwords' ); ?></h2>
+		<p><?php _e( 'Application passwords allow authentication via non-interactive systems, such as XML-RPC or the REST API, without providing your actual password. Application passwords can be easily revoked. They cannot be used for traditional logins to your website.' ); ?></p>
+			<?php
+			if ( is_multisite() ) {
+				$blogs       = get_blogs_of_user( $user_id, true );
+				$blogs_count = count( $blogs );
+				if ( $blogs_count > 1 ) {
+					?>
+					<p>
+						<?php
+						printf(
+							/* translators: 1: URL to my-sites.php, 2: Number of blogs the user has. */
+							_n(
+								'Application passwords grant access to <a href="%1$s">the %2$s blog in this installation that you have permissions on</a>.',
+								'Application passwords grant access to <a href="%1$s">all %2$s blogs in this installation that you have permissions on</a>.',
+								$blogs_count
+							),
+							admin_url( 'my-sites.php' ),
+							number_format_i18n( $blogs_count )
+						);
+						?>
+					</p>
+					<?php
+				}
+			}
@@ -760,7 +742,8 @@ endif;
-                    <?php submit_button( __( 'Add New Application Password' ), 'secondary', 'do_new_application_password' ); ?>
-                </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 } ?>
+			if ( empty( $_SERVER['PHP_AUTH_USER'] ) && empty( $_SERVER['PHP_AUTH_PW'] ) ) {
+				?>
+			<div class="create-application-password form-wrap">
+				<div class="form-field">
+					<label for="new_application_password_name"><?php _e( 'New Application Password Name' ); ?></label>
+					<input type="text" size="30" id="new_application_password_name" name="new_application_password_name" placeholder="<?php esc_attr_e( 'WordPress App on My Phone' ); ?>" class="input" aria-required="true" aria-describedby="new_application_password_name_desc" />
+					<p class="description" id="new_application_password_name_desc"><?php _e( 'Required to create an Application Password, but not to update the user.' ); ?></p>
+				</div>
@@ -768,9 +751,27 @@ 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>
-        </td>
-	</tr>
+				<?php
+				/**
+				 * Fires in the create Application Passwords form.
+				 *
+				 * @since 5.6.0
+				 *
+				 * @param WP_User $profileuser The current WP_User object.
+				 */
+				do_action( 'wp_create_application_password_form', $profileuser );
+				?>
+
+				<?php submit_button( __( 'Add New Application Password' ), 'secondary', 'do_new_application_password' ); ?>
+			</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 } ?>
+
+		<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>
+	</div>
