You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wp user application-password create (and update) drops backslashes from the application name. The command passes its arguments to WP_Application_Passwords::create_new_application_password() / update_application_password() unslashed, but core expects slashed input there. That is documented as "Expected to be slashed" in 7.2, and before 7.2 the metadata API unslashed it anyway. The result is the same on both versions: one level of backslashes is removed.
Steps to reproduce
wp user application-password create 1 'My\App\Test' --porcelain
wp user application-password list 1 --fields=uuid,name
Expected
The name is stored as My\App\Test.
Actual: it is stored as MyAppTest, on WordPress 7.1.5 and on 7.2-RC4.
Calling core directly with slashed input keeps the backslash on both versions:
changed the title [-]user application-password create/update strips backslashes from the name[/-][+]application-password create/update strips backslashes[/+]on Dec 2, 2026
Activity
[-]user application-password create/update strips backslashes from the name[/-][+]application-password create/update strips backslashes[/+]