Changeset 49617 for trunk/src/wp-includes/user.php
- Timestamp:
- 11/16/2020 10:40:11 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/user.php
r49475 r49617 351 351 ); 352 352 } 353 } elseif ( ! wp_is_application_passwords_available() ) { 354 $error = new WP_Error( 355 'application_passwords_disabled', 356 'Application passwords are not available.' 357 ); 353 358 } elseif ( ! wp_is_application_passwords_available_for_user( $user ) ) { 354 359 $error = new WP_Error( 355 'application_passwords_disabled ',356 __( 'Application passwords are disabled for the requested user.' )360 'application_passwords_disabled_for_user', 361 __( 'Application passwords are not available for your account. Please contact the site administrator for assistance.' ) 357 362 ); 358 363 } … … 4132 4137 4133 4138 /** 4134 * Checks if Application Passwords is enabledfor a specific user.4139 * Checks if Application Passwords is available for a specific user. 4135 4140 * 4136 4141 * By default all users can use Application Passwords. Use {@see 'wp_is_application_passwords_available_for_user'}
Note: See TracChangeset
for help on using the changeset viewer.