wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php:199Checks if a global style can be read.
$postWP_Postbool public function check_read_permission( $post ) { return current_user_can( 'read_post', $post->ID ); }Introduced in 5.9.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.