WordPress.org

Make WordPress Core

Opened 4 months ago

Closed 4 months ago

#52092 closed defect (bug) (invalid)

Application password feature not available

Reported by: guddu1315 Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.6
Component: Application Passwords Keywords:
Focuses: rest-api Cc:

Description

Hello,

Previously I had WordPress 5.5.3 installed in my local system. I updated the WordPress to 5.6, but I can't find the application password feature under user profile section.

  • There are no plugin installed.
  • Only twentytwentyone theme is installed.
  • PHP version is 7.3.21

Is it because its in localhost? If it is then it should be mentioned somewhere in the integration guide: https://make.wordpress.org/core/2020/11/05/application-passwords-integration-guide/

Thanks

Attachments (1)

aplication-password-missing.png (144.4 KB) - added by guddu1315 4 months ago.
Application Password Feature Missing

Download all attachments as: .zip

Change History (3)

@guddu1315
4 months ago

Application Password Feature Missing

#1 @swissspidy
4 months ago

The integration guide says:

By default, Application Passwords is available to all users on sites served over SSL/HTTPS. This can be customized using the wp_is_application_passwords_available and wp_is_application_passwords_available_for_user filters.

Those filters also check for the WP_ENVIRONMENT_TYPE, so you could add define( 'WP_ENVIRONMENT_TYPE', 'local' ); to your wp-config.php file for local sites so it works on localhost.

#2 @TimothyBlynJacobs
4 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Yep exactly what @swissspidy mentioned.

Note: See TracTickets for help on using tickets.