[wp-trac] [WordPress Trac] #38701: Remove rest_get_post filter

WordPress Trac noreply at wordpress.org
Tue Nov 8 13:08:51 UTC 2016


#38701: Remove rest_get_post filter
------------------------------+-----------------------
 Reporter:  rmccue            |       Owner:  joehoyle
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.7
Component:  REST API          |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-----------------------
Changes (by joehoyle):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"39161"]:
 {{{
 #!CommitTicketReference repository="" revision="39161"
 REST API: Remove rest_get_post filter and `get_post` abstraction.

 This filter was originally introduced in https://github.com/WP-API/WP-
 API/pull/2535 to support Customizer Changesets (née Transactions). This is
 a super broad filter and doesn't really fit with the design of the API,
 nor is it (arguably) the right level to do this.

 Props rmccue.
 Fixes #38701.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38701#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list