Changeset 60819 for branches/6.7/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
- Timestamp:
- 09/30/2025 04:59:37 PM (10 months ago)
- Location:
- branches/6.7
- 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/6.7
- Property svn:mergeinfo changed
/trunk merged: 60814-60816
- Property svn:mergeinfo changed
-
branches/6.7/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
r58706 r60819 341 341 342 342 foreach ( $query_result as $term ) { 343 if ( 'edit' === $request['context'] && ! current_user_can( 'edit_term', $term->term_id ) ) { 344 continue; 345 } 346 343 347 $data = $this->prepare_item_for_response( $term, $request ); 344 348 $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)