Changeset 60817 for branches/6.8/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
- Timestamp:
- 09/30/2025 04:50:20 PM (11 months ago)
- Location:
- branches/6.8
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/6.8
-
branches/6.8/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
r60200 r60817 464 464 465 465 foreach ( $query_result as $post ) { 466 if ( ! $this->check_read_permission( $post ) ) { 466 if ( 'edit' === $request['context'] ) { 467 $permission = $this->check_update_permission( $post ); 468 } else { 469 $permission = $this->check_read_permission( $post ); 470 } 471 472 if ( ! $permission ) { 467 473 continue; 468 474 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)