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-posts-controller.php

    r39639 r39671  
    652652        $post = get_post( $post_id );
    653653
    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 */
    655655        do_action( "rest_insert_{$this->post_type}", $post, $request, false );
    656656
Note: See TracChangeset for help on using the changeset viewer.