WordPress.org

Make WordPress Core

Changeset 38749


Ignore:
Timestamp:
10/07/16 19:23:02 (13 months ago)
Author:
ocean90
Message:

Docs: Improve formatting of filter docs added in [38689].

Fixes #35590.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/class-wp-rest-server.php

    r38689 r38749  
    876876 
    877877                /** 
    878                  * Call a filter before executing any REST API callbacks. 
     878                 * Filters the response before executing any REST API callbacks. 
    879879                 * 
    880880                 * Allows plugins to perform additional validation after a 
     
    931931 
    932932                /** 
    933                  * Call a filter immediately after executing any REST API 
     933                 * Filters the response immediately after executing any REST API 
    934934                 * callbacks. 
    935935                 * 
    936936                 * Allows plugins to perform any needed cleanup, for example, 
    937                  * to undo changes made during `rest_request_before_callbacks`. 
     937                 * to undo changes made during the {@see 'rest_request_before_callbacks'} 
     938                 * filter. 
    938939                 * 
    939940                 * Note that this filter will not be called for requests that 
     
    941942                 * 
    942943                 * Note that an endpoint's `permission_callback` can still be 
    943                  * called after this filter - see the `rest_send_allow_header` 
    944                  * function. 
     944                 * called after this filter - see `rest_send_allow_header()`. 
    945945                 * 
    946946                 * @since 4.7.0 
Note: See TracChangeset for help on using the changeset viewer.