Changeset 60833 for branches/5.3/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
- Timestamp:
- 09/30/2025 05:04:46 PM (9 months ago)
- Location:
- branches/5.3
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.3
- Property svn:mergeinfo changed
/trunk merged: 60814-60816
- Property svn:mergeinfo changed
-
branches/5.3/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
r54562 r60833 327 327 328 328 foreach ( $query_result as $term ) { 329 if ( 'edit' === $request['context'] && ! current_user_can( 'edit_term', $term->term_id ) ) { 330 continue; 331 } 332 329 333 $data = $this->prepare_item_for_response( $term, $request ); 330 334 $response[] = $this->prepare_response_for_collection( $data );
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)