Changeset 49752 for trunk/src/wp-admin/authorize-application.php
- Timestamp:
- 12/04/2020 09:42:52 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/authorize-application.php
r49617 r49752 86 86 __( 'The Authorize Application request is not allowed.' ) . ' ' . implode( ' ', $is_valid->get_error_messages() ), 87 87 __( 'Cannot Authorize Application' ) 88 ); 89 } 90 91 if ( ! empty( $_SERVER['PHP_AUTH_USER'] ) || ! empty( $_SERVER['PHP_AUTH_PW'] ) ) { 92 wp_die( 93 __( 'Your website appears to use Basic Authentication, which is not currently compatible with Application Passwords.' ), 94 __( 'Cannot Authorize Application' ), 95 array( 96 'response' => 501, 97 'link_text' => __( 'Go Back' ), 98 'link_url' => $reject_url ? add_query_arg( 'error', 'disabled', $reject_url ) : admin_url(), 99 ) 88 100 ); 89 101 }
Note: See TracChangeset
for help on using the changeset viewer.