WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/03/2017 03:42:45 PM (3 years ago)
Author:
johnbillion
Message:

General: Fix various instances of incorrect filter docs and incorrect filter and action parameters.

Props keesiemeijer for identifying the issues

See #38462

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php

    r41162 r41219  
    370370            $data['guid'] = array(
    371371                /** This filter is documented in wp-includes/post-template.php */
    372                 'rendered' => apply_filters( 'get_the_guid', $post->guid ),
     372                'rendered' => apply_filters( 'get_the_guid', $post->guid, $post->ID ),
    373373                'raw'      => $post->guid,
    374374            );
Note: See TracChangeset for help on using the changeset viewer.