Changeset 39671
- Timestamp:
- 01/04/2017 01:22:49 PM (8 years ago)
- Location:
- trunk/src/wp-includes/rest-api/endpoints
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
r39598 r39671 226 226 $attachment = get_post( $request['id'] ); 227 227 228 /* This action is documented in wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php */228 /** This action is documented in wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php */ 229 229 do_action( 'rest_insert_attachment', $data, $request, false ); 230 230 -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
r39639 r39671 709 709 $comment = get_comment( $id ); 710 710 711 /* This action is documented in lib/endpoints/class-wp-rest-comments-controller.php */711 /** This action is documented in wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php */ 712 712 do_action( 'rest_insert_comment', $comment, $request, false ); 713 713 -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
r39639 r39671 652 652 $post = get_post( $post_id ); 653 653 654 /* This action is documented in lib/endpoints/class-wp-rest-controller.php */654 /** This action is documented in wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php */ 655 655 do_action( "rest_insert_{$this->post_type}", $post, $request, false ); 656 656 -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
r39648 r39671 501 501 $term = get_term( (int) $request['id'], $this->taxonomy ); 502 502 503 /* This action is documented in lib/endpoints/class-wp-rest-terms-controller.php */503 /** This action is documented in wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php */ 504 504 do_action( "rest_insert_{$this->taxonomy}", $term, $request, false ); 505 505 -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php
r39639 r39671 607 607 $user = get_user_by( 'id', $user_id ); 608 608 609 /* This action is documented in lib/endpoints/class-wp-rest-users-controller.php */609 /** This action is documented in wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php */ 610 610 do_action( 'rest_insert_user', $user, $request, false ); 611 611
Note: See TracChangeset
for help on using the changeset viewer.