- Timestamp:
- 07/11/2024 06:22:51 AM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
r58704 r58706 165 165 } 166 166 167 // Otherwise grant access if the post is readable by the logged in user.167 // Otherwise grant access if the post is readable by the logged-in user. 168 168 if ( current_user_can( 'read_post', $post->ID ) ) { 169 169 return true;
Note: See TracChangeset
for help on using the changeset viewer.