[wp-trac] [WordPress Trac] #60029: Admin unable to create new Application Password for user with no role on main site (multisite)

WordPress Trac noreply at wordpress.org
Tue May 13 08:40:07 UTC 2025


#60029: Admin unable to create new Application Password for user with no role on
main site (multisite)
-----------------------------------+------------------------
 Reporter:  roytanck               |       Owner:  (none)
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  6.9
Component:  Application Passwords  |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  changes-requested      |     Focuses:  multisite
-----------------------------------+------------------------

Comment (by soyebsalar01):

 Patch Tested:
 https://github.com/WordPress/wordpress-develop/pull/8638.diff

 Summary:
 This report confirms that the patch successfully resolves the issue
 described. However, a minor refinement or improvement may still be helpful
 for a more seamless experience.
   Environment

     WordPress Version: 6.9
     PHP Version: 8.1
     Must-Use Plugins: None


         Test Reports :
   Bug Reproduction Steps

     Enable Multisite.
     As a Network Admin, create a new user at the Network level and assign
 them the Subscriber role.
     Edit this user from the Network Admin panel.
     Attempt to create a new Application Password for the user.

  Without Patch
     Result:
     Error message: Invalid user ID

  Expected Behavior
     Application password should be successfully created for the Subscriber
 user at the Network level.

  Actual Result (With Patch Applied)
     Status: Issue resolved — application password is now created as
 expected.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60029#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list