Make WordPress Core


Ignore:
Timestamp:
06/05/2020 08:28:42 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Update the DocBlock for the wp_media_attach_action hook per the documentation standards.

Rename the $att_id variable to $attachment_id for clarity.

Follow-up to [47909].

See #49614.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/rest-api/rest-controller.php

    r47911 r47913  
    270270        }
    271271
    272         // ignored properties
     272        // Ignored properties.
    273273        $this->assertArrayNotHasKey( 'ignored_prop', $args['someobject'] );
    274274
     
    276276
    277277    /**
    278      * @dataProvider data_get_fields_for_response,
     278     * @dataProvider data_get_fields_for_response
    279279     */
    280280    public function test_get_fields_for_response( $param, $expected ) {
Note: See TracChangeset for help on using the changeset viewer.