Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #57388


Ignore:
Timestamp:
12/28/2022 01:20:46 AM (2 years ago)
Author:
sabernhardt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57388

    • Property Component changed from Administration to Application Passwords
  • 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_TYPE to be set to 'local', not 'development'.
     1When 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'.
    22
    33To 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.php and edit any user
     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.php` and edit any user
    77- Under Application Passwords the following messages is posted, despite the environment being set to development:
    88
     
    1313- Either clarify the instructions to say to set it to 'local', not 'development'
    1414OR
    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.
    1616
    1717This ticket is related to [ticket:53658 #53658].