diff --git a/src/wp-admin/user-edit.php b/src/wp-admin/user-edit.php
index 0cd381caf2..d87da5c761 100644
a
|
b
|
endif; |
734 | 734 | </table> |
735 | 735 | |
736 | 736 | |
737 | | <?php if ( wp_is_application_passwords_available_for_user( $user_id ) ) : ?> |
738 | 737 | <div class="application-passwords hide-if-no-js" id="application-passwords-section"> |
739 | 738 | <h2><?php _e( 'Application Passwords' ); ?></h2> |
| 739 | <?php if ( wp_is_application_passwords_available_for_user( $user_id ) ) : ?> |
740 | 740 | <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> |
741 | 741 | <?php |
742 | 742 | if ( is_multisite() ) { |
… |
… |
endif; |
797 | 797 | $application_passwords_list_table->display(); |
798 | 798 | ?> |
799 | 799 | </div> |
| 800 | <?php else: ?> |
| 801 | <p><?php printf( __( 'Application Passwords require <a href="%s" target="_blank">HTTPS on production websites</a>.' ), "https://wordpress.org/support/article/administration-over-ssl/" ); ?></p> |
| 802 | <p><?php printf( __( 'If this is a local website, you can set the <a href="%s" target="_blank">environment type</a> to make it functional.' ), "https://wordpress.org/support/article/editing-wp-config-php/#wp_environment_type" ); ?></p> |
| 803 | <?php endif; ?> |
800 | 804 | </div> |
801 | | <?php endif; ?> |
802 | 805 | |
803 | 806 | <?php |
804 | 807 | if ( IS_PROFILE_PAGE ) { |