Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2149,7 +2149,7 @@ public function get_collection_params() {
$query_params['context']['default'] = 'view';

$query_params['after'] = array(
'description' => __( 'Limit response to comments published after a given ISO8601 compliant date.' ),
'description' => __( 'Limit response to comments published after a given ISO 8601 compliant date.' ),
'type' => 'string',
'format' => 'date-time',
);
Expand Down Expand Up @@ -2178,7 +2178,7 @@ public function get_collection_params() {
);

$query_params['before'] = array(
'description' => __( 'Limit response to comments published before a given ISO8601 compliant date.' ),
'description' => __( 'Limit response to comments published before a given ISO 8601 compliant date.' ),
'type' => 'string',
'format' => 'date-time',
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3025,13 +3025,13 @@ public function get_collection_params() {
$query_params['context']['default'] = 'view';

$query_params['after'] = array(
'description' => __( 'Limit response to posts published after a given ISO8601 compliant date.' ),
'description' => __( 'Limit response to posts published after a given ISO 8601 compliant date.' ),
'type' => 'string',
'format' => 'date-time',
);

$query_params['modified_after'] = array(
'description' => __( 'Limit response to posts modified after a given ISO8601 compliant date.' ),
'description' => __( 'Limit response to posts modified after a given ISO 8601 compliant date.' ),
'type' => 'string',
'format' => 'date-time',
);
Expand All @@ -3056,13 +3056,13 @@ public function get_collection_params() {
}

$query_params['before'] = array(
'description' => __( 'Limit response to posts published before a given ISO8601 compliant date.' ),
'description' => __( 'Limit response to posts published before a given ISO 8601 compliant date.' ),
'type' => 'string',
'format' => 'date-time',
);

$query_params['modified_before'] = array(
'description' => __( 'Limit response to posts modified before a given ISO8601 compliant date.' ),
'description' => __( 'Limit response to posts modified before a given ISO 8601 compliant date.' ),
'type' => 'string',
'format' => 'date-time',
);
Expand Down
52 changes: 26 additions & 26 deletions tests/qunit/fixtures/wp-api-generated.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,13 +307,13 @@ mockedApiResponse.Schema = {
"required": false
},
"after": {
"description": "Limit response to posts published after a given ISO8601 compliant date.",
"description": "Limit response to posts published after a given ISO 8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to posts modified after a given ISO8601 compliant date.",
"description": "Limit response to posts modified after a given ISO 8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
Expand All @@ -337,13 +337,13 @@ mockedApiResponse.Schema = {
"required": false
},
"before": {
"description": "Limit response to posts published before a given ISO8601 compliant date.",
"description": "Limit response to posts published before a given ISO 8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to posts modified before a given ISO8601 compliant date.",
"description": "Limit response to posts modified before a given ISO 8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
Expand Down Expand Up @@ -1694,13 +1694,13 @@ mockedApiResponse.Schema = {
"required": false
},
"after": {
"description": "Limit response to posts published after a given ISO8601 compliant date.",
"description": "Limit response to posts published after a given ISO 8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to posts modified after a given ISO8601 compliant date.",
"description": "Limit response to posts modified after a given ISO 8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
Expand All @@ -1724,13 +1724,13 @@ mockedApiResponse.Schema = {
"required": false
},
"before": {
"description": "Limit response to posts published before a given ISO8601 compliant date.",
"description": "Limit response to posts published before a given ISO 8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to posts modified before a given ISO8601 compliant date.",
"description": "Limit response to posts modified before a given ISO 8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
Expand Down Expand Up @@ -2808,13 +2808,13 @@ mockedApiResponse.Schema = {
"required": false
},
"after": {
"description": "Limit response to posts published after a given ISO8601 compliant date.",
"description": "Limit response to posts published after a given ISO 8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to posts modified after a given ISO8601 compliant date.",
"description": "Limit response to posts modified after a given ISO 8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
Expand All @@ -2838,13 +2838,13 @@ mockedApiResponse.Schema = {
"required": false
},
"before": {
"description": "Limit response to posts published before a given ISO8601 compliant date.",
"description": "Limit response to posts published before a given ISO 8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to posts modified before a given ISO8601 compliant date.",
"description": "Limit response to posts modified before a given ISO 8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
Expand Down Expand Up @@ -3839,25 +3839,25 @@ mockedApiResponse.Schema = {
"required": false
},
"after": {
"description": "Limit response to posts published after a given ISO8601 compliant date.",
"description": "Limit response to posts published after a given ISO 8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to posts modified after a given ISO8601 compliant date.",
"description": "Limit response to posts modified after a given ISO 8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limit response to posts published before a given ISO8601 compliant date.",
"description": "Limit response to posts published before a given ISO 8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to posts modified before a given ISO8601 compliant date.",
"description": "Limit response to posts modified before a given ISO 8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
Expand Down Expand Up @@ -4658,13 +4658,13 @@ mockedApiResponse.Schema = {
"required": false
},
"after": {
"description": "Limit response to posts published after a given ISO8601 compliant date.",
"description": "Limit response to posts published after a given ISO 8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to posts modified after a given ISO8601 compliant date.",
"description": "Limit response to posts modified after a given ISO 8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
Expand All @@ -4688,13 +4688,13 @@ mockedApiResponse.Schema = {
"required": false
},
"before": {
"description": "Limit response to posts published before a given ISO8601 compliant date.",
"description": "Limit response to posts published before a given ISO 8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to posts modified before a given ISO8601 compliant date.",
"description": "Limit response to posts modified before a given ISO 8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
Expand Down Expand Up @@ -7312,25 +7312,25 @@ mockedApiResponse.Schema = {
"required": false
},
"after": {
"description": "Limit response to posts published after a given ISO8601 compliant date.",
"description": "Limit response to posts published after a given ISO 8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to posts modified after a given ISO8601 compliant date.",
"description": "Limit response to posts modified after a given ISO 8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limit response to posts published before a given ISO8601 compliant date.",
"description": "Limit response to posts published before a given ISO 8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to posts modified before a given ISO8601 compliant date.",
"description": "Limit response to posts modified before a given ISO 8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
Expand Down Expand Up @@ -10511,7 +10511,7 @@ mockedApiResponse.Schema = {
"required": false
},
"after": {
"description": "Limit response to comments published after a given ISO8601 compliant date.",
"description": "Limit response to comments published after a given ISO 8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
Expand Down Expand Up @@ -10540,7 +10540,7 @@ mockedApiResponse.Schema = {
"required": false
},
"before": {
"description": "Limit response to comments published before a given ISO8601 compliant date.",
"description": "Limit response to comments published before a given ISO 8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
Expand Down
Loading