- Timestamp:
- 09/30/2025 03:49:18 PM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
r59970 r60814 366 366 $response = array(); 367 367 foreach ( $query_result as $term ) { 368 if ( 'edit' === $request['context'] && ! current_user_can( 'edit_term', $term->term_id ) ) { 369 continue; 370 } 371 368 372 $data = $this->prepare_item_for_response( $term, $request ); 369 373 $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)