Changeset 53882 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php
- Timestamp:
- 08/11/2022 06:22:59 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php
r53760 r53882 720 720 } 721 721 722 if ( is_multisite() && ! is_user_member_of_blog( $user->ID ) ) {722 if ( is_multisite() && ! user_can( $user->ID, 'manage_sites' ) && ! is_user_member_of_blog( $user->ID ) ) { 723 723 return $error; 724 724 }
Note: See TracChangeset
for help on using the changeset viewer.