Ticket #53658: 53658.3.diff
File 53658.3.diff, 1.2 KB (added by , 3 years ago) |
---|
-
src/wp-admin/user-edit.php
733 733 734 734 </table> 735 735 736 <?php if ( wp_is_application_passwords_available_for_user( $user_id ) || ( ! is_ssl() || 'local' === wp_get_environment_type() ) ) : ?> 736 737 <div class="application-passwords hide-if-no-js" id="application-passwords-section"> 737 738 <h2><?php _e( 'Application Passwords' ); ?></h2> 738 739 <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> … … 797 798 ?> 798 799 </div> 799 800 <?php else : ?> 800 <p><?php _e( 'The application password feature requires HTTPS, which is not enabled on this site.' ); ?></p> 801 <?php if ( ! is_ssl() ) : ?> 802 <p><?php _e( 'The application password feature requires HTTPS, which is not enabled on this site.' ); ?></p> 803 <?php endif; ?> 801 804 <p> 802 805 <?php 803 806 printf( … … 809 812 </p> 810 813 <?php endif; ?> 811 814 </div> 815 <?php endif; ?> 812 816 813 817 <?php 814 818 if ( IS_PROFILE_PAGE ) {