Docs: Correct rest_insert_* duplicate hook references in REST API.

Props keesiemeijer.
Fixes #39371.

git-svn-id: https://develop.svn.wordpress.org/trunk@39671 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
SergeyBiryukov
2017-01-04 13:22:49 +00:00
parent 10fbee7158
commit 7bd9bc5208
5 changed files with 5 additions and 5 deletions

View File

@@ -708,7 +708,7 @@ class WP_REST_Comments_Controller extends WP_REST_Controller {
$comment = get_comment( $id );
/* This action is documented in lib/endpoints/class-wp-rest-comments-controller.php */
/** This action is documented in wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php */
do_action( 'rest_insert_comment', $comment, $request, false );
$schema = $this->get_item_schema();