Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#54519 closed defect (bug) (duplicate)

Ensure that rest_after_insert_ actions are fired in template REST API controllers

Reported by: spacedmonkey Owned by:
Priority: normal Milestone:
Component: REST API Version: 5.8
Severity: normal Keywords: close
Cc: Focuses: rest-api

Description

The template REST API controller, does not extend the post controller class. So the dynamic action rest_after_insert_$this->post_type is never fired. The WP_REST_Templates_Controller class should be updated to include this action.

Change History (3)

#1 @Presskopp
5 years ago

  • Keywords needs-privacy-review added

Duplicate of #54520 (which has comments, so let's close this one)

#2 @Presskopp
5 years ago

  • Keywords close added; needs-privacy-review removed

oops

#3 @spacedmonkey
5 years ago

  • Milestone 5.9
  • Resolutionduplicate
  • Status newclosed

Duplicate of #54520.

Note: See TracTickets for help on using tickets.