Changeset 53882
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() && ! is_user_member_of_blog( $user->ID ) ) { 723 723 return $error; 724 724 } -
trunk/tests/phpunit/tests/rest-api/rest-application-passwords-controller.php
r52398 r53882 408 408 $response = rest_do_request( $request ); 409 409 $this->assertErrorResponse( 'rest_user_invalid_id', $response, 404 ); 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 410 436 } 411 437
Note: See TracChangeset
for help on using the changeset viewer.