mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 02:34:38 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@47913 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -269,13 +269,13 @@ class WP_Test_REST_Controller extends WP_Test_REST_TestCase {
|
||||
$this->assertArrayHasKey( $property, $args['someobject'] );
|
||||
}
|
||||
|
||||
// ignored properties
|
||||
// Ignored properties.
|
||||
$this->assertArrayNotHasKey( 'ignored_prop', $args['someobject'] );
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider data_get_fields_for_response,
|
||||
* @dataProvider data_get_fields_for_response
|
||||
*/
|
||||
public function test_get_fields_for_response( $param, $expected ) {
|
||||
$controller = new WP_REST_Test_Controller();
|
||||
|
||||
Reference in New Issue
Block a user