Skip to content

Commit 73578f1

Browse files
committed
Update flip parameter description in WP REST Attachments Controller and corresponding test fixture to remove unnecessary details.
1 parent 2c0846d commit 73578f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1558,7 +1558,7 @@ protected function get_edit_media_item_args() {
15581558
),
15591559
'properties' => array(
15601560
'flip' => array(
1561-
'description' => __( 'Flip direction. [ horizontal, vertical ]' ),
1561+
'description' => __( 'Flip direction.' ),
15621562
'type' => 'object',
15631563
'required' => array(
15641564
'horizontal',

tests/qunit/fixtures/wp-api-generated.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3445,7 +3445,7 @@ mockedApiResponse.Schema = {
34453445
],
34463446
"properties": {
34473447
"flip": {
3448-
"description": "Flip direction. [ horizontal, vertical ]",
3448+
"description": "Flip direction.",
34493449
"type": "object",
34503450
"required": [
34513451
"horizontal",

0 commit comments

Comments
 (0)