Skip to content

Commit 5c9ffea

Browse files
whitespace
1 parent 64e80e1 commit 5c9ffea

File tree

2 files changed

+3
-31
lines changed

2 files changed

+3
-31
lines changed

src/wp-includes/comment.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4136,4 +4136,3 @@ function wp_create_initial_comment_meta() {
41364136
);
41374137
}
41384138
add_action( 'init', 'wp_create_initial_comment_meta' );
4139-

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

Lines changed: 3 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -11538,10 +11538,7 @@ mockedApiResponse.Schema = {
1153811538
"status": {
1153911539
"default": "approve",
1154011540
"description": "Limit result set to comments assigned a specific status. Requires authorization.",
11541-
"type": [
11542-
"string",
11543-
"array"
11544-
],
11541+
"type": "string",
1154511542
"required": false
1154611543
},
1154711544
"type": {
@@ -11651,18 +11648,7 @@ mockedApiResponse.Schema = {
1165111648
"meta": {
1165211649
"description": "Meta fields.",
1165311650
"type": "object",
11654-
"properties": {
11655-
"_wp_note_status": {
11656-
"type": "string",
11657-
"title": "",
11658-
"description": "Note resolution status",
11659-
"default": "",
11660-
"enum": [
11661-
"resolved",
11662-
"reopen"
11663-
]
11664-
}
11665-
},
11651+
"properties": [],
1166611652
"required": false
1166711653
}
1166811654
}
@@ -11809,18 +11795,7 @@ mockedApiResponse.Schema = {
1180911795
"meta": {
1181011796
"description": "Meta fields.",
1181111797
"type": "object",
11812-
"properties": {
11813-
"_wp_note_status": {
11814-
"type": "string",
11815-
"title": "",
11816-
"description": "Note resolution status",
11817-
"default": "",
11818-
"enum": [
11819-
"resolved",
11820-
"reopen"
11821-
]
11822-
}
11823-
},
11798+
"properties": [],
1182411799
"required": false
1182511800
}
1182611801
}
@@ -15499,7 +15474,6 @@ mockedApiResponse.CommentsCollection = [
1549915474
"96": "https://secure.gravatar.com/avatar/9ca51ced0b389ffbeba3d269c6d824be664c84fa1b35503282abdd302e1f417c?s=96&d=mm&r=g"
1550015475
},
1550115476
"meta": {
15502-
"_wp_note_status": null,
1550315477
"meta_key": "meta_value"
1550415478
},
1550515479
"_links": {
@@ -15554,7 +15528,6 @@ mockedApiResponse.CommentModel = {
1555415528
"96": "https://secure.gravatar.com/avatar/9ca51ced0b389ffbeba3d269c6d824be664c84fa1b35503282abdd302e1f417c?s=96&d=mm&r=g"
1555515529
},
1555615530
"meta": {
15557-
"_wp_note_status": null,
1555815531
"meta_key": "meta_value"
1555915532
}
1556015533
};

0 commit comments

Comments
 (0)