- Timestamp:
- 09/24/2024 04:38:36 PM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-application-passwords.php
r59009 r59084 93 93 if ( empty( $args['name'] ) ) { 94 94 return new WP_Error( 'application_password_empty_name', __( 'An application name is required to create an application password.' ), array( 'status' => 400 ) ); 95 }96 97 if ( self::application_name_exists_for_user( $user_id, $args['name'] ) ) {98 return new WP_Error( 'application_password_duplicate_name', __( 'Each application name should be unique.' ), array( 'status' => 409 ) );99 95 } 100 96
Note: See TracChangeset
for help on using the changeset viewer.