[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
Thu Apr 3 06:20:11 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: Awaiting Review
Component: Application Passwords | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: multisite
--------------------------------------+------------------------------
Comment (by roytanck):
Thank you. I realize this would fix the issue for me, but Trac is all
about fixing issues for everyone. This issue is quite clearly caused by a
bug in WP core, and the best solution would be to fix that bug.
(I actually have more complicated version of the code you posted in
production right now, which takes user capabilities and other things into
account to determine which users should be able to have application
passwords.)
Replying to [comment:9 sonaliprajapati]:
> Please code add in function.php then it will works.
>
> add_filter( 'wp_is_application_passwords_available_for_user',
'__return_true' );
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60029#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list