WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #38964, comment 7


Ignore:
Timestamp:
06/29/2017 02:06:22 PM (3 years ago)
Author:
jnylen0
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #38964, comment 7

    initial v1  
    11In [attachment:38964.2.diff], changes per Slack feedback from @pento:
    22
    3 - Rename to `rest_pre_echo_request` - `rest_post_embed` isn't the best name as this filter will be run even if no embedded requests are inserted
     3- Rename to `rest_pre_echo_response` - `rest_post_embed` isn't the best name as this filter will be run even if no embedded requests are inserted
    44- Fix documentation of `$result` parameter - at this point this is just a data array, not a `WP_REST_Response` object