WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/04/2017 01:22:49 PM (3 years ago)
Author:
SergeyBiryukov
Message:

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

Props keesiemeijer.
Fixes #39371.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php

    r39639 r39671  
    709709        $comment = get_comment( $id );
    710710
    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 */
    712712        do_action( 'rest_insert_comment', $comment, $request, false );
    713713
Note: See TracChangeset for help on using the changeset viewer.