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

    r39598 r39671  
    226226        $attachment = get_post( $request['id'] );
    227227
    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 */
    229229        do_action( 'rest_insert_attachment', $data, $request, false );
    230230
Note: See TracChangeset for help on using the changeset viewer.