Changes between Initial Version and Version 1 of Ticket #57388
- Timestamp:
- 12/28/2022 01:20:46 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #57388
-
Property
Component
changed from
Administration
toApplication Passwords
-
Property
Component
changed from
-
Ticket #57388 – Description
initial v1 1 When attempting to set Application Passwords on a non-HTTPS website (i.e. http://localhost), WordPress says it needs the development environment to be declared (creating an assumption it needs to be WP_ENVIRONMENT_TYPE=development). However, in actuality, WordPress requires WP_ENVIRONMENT_TYPEto be set to 'local', not 'development'.1 When attempting to set Application Passwords on a non-HTTPS website (i.e. `http://localhost`), WordPress says it needs the development environment to be declared (creating an assumption it needs to be `WP_ENVIRONMENT_TYPE=development`). However, in actuality, WordPress requires `WP_ENVIRONMENT_TYPE` to be set to 'local', not 'development'. 2 2 3 3 To reproduce: 4 - Deploy a non-HTTPS instance (i.e. http://localhost)5 - Set WP_ENVIRONMENT_TYPE constant to 'development' in wp-config.php, i.e. - define('WP_ENVIRONMENT_TYPE', 'development');6 - Go to /wp-admin/profile.phpand edit any user4 - Deploy a non-HTTPS instance (i.e. `http://localhost`) 5 - Set `WP_ENVIRONMENT_TYPE` constant to 'development' in `wp-config.php`, i.e. - `define('WP_ENVIRONMENT_TYPE', 'development');` 6 - Go to `/wp-admin/profile.php` and edit any user 7 7 - Under Application Passwords the following messages is posted, despite the environment being set to development: 8 8 … … 13 13 - Either clarify the instructions to say to set it to 'local', not 'development' 14 14 OR 15 - Update the wp_is_application_passwords_supported()function to accept the development environment.15 - Update the `wp_is_application_passwords_supported()` function to accept the development environment. 16 16 17 17 This ticket is related to [ticket:53658 #53658].