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

    r39648 r39671  
    501501        $term = get_term( (int) $request['id'], $this->taxonomy );
    502502
    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 */
    504504        do_action( "rest_insert_{$this->taxonomy}", $term, $request, false );
    505505
Note: See TracChangeset for help on using the changeset viewer.