Skip to content

Commit

Permalink
Update description for rest param
Browse files Browse the repository at this point in the history
Bumped revision count that can be returned from the API to 100
  • Loading branch information
ramonjd committed Dec 23, 2022
1 parent 90a272b commit e0753cb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function register_routes() {
'permission_callback' => array( $this, 'get_item_permissions_check' ),
'args' => array(
'id' => array(
'description' => __( 'The id of a template' ),
'description' => __( 'The id of the global styles post.' ),
'type' => 'string',
'sanitize_callback' => array( $this, '_sanitize_global_styles_callback' ),
),
Expand Down Expand Up @@ -126,7 +126,7 @@ public function get_item_revisions( $request ) {
$post->ID,
array(
'author' => $post->post_author,
'posts_per_page' => 10,
'posts_per_page' => 100,
)
);

Expand Down

1 comment on commit e0753cb

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/3762578822
📝 Reported issues:

Please sign in to comment.