WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/03/2017 03:42:45 PM (2 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/tests/phpunit/tests/rest-api/rest-revisions-controller.php

    r40601 r41219  
    318318        $this->assertEquals( $rendered_excerpt, $response['excerpt']['rendered'] );
    319319
    320         $rendered_guid = apply_filters( 'get_the_guid', $revision->guid );
     320        $rendered_guid = apply_filters( 'get_the_guid', $revision->guid, $revision->ID );
    321321        $this->assertEquals( $rendered_guid, $response['guid']['rendered'] );
    322322
Note: See TracChangeset for help on using the changeset viewer.