Skip to content

Commit

Permalink
Remove duplicate validate_callback entry.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterwilsoncc committed Apr 28, 2023
1 parent 62d165f commit 0efefda
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion includes/rest-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ function( $post_type ) {

return $param;
},
'validate_callback' => 'rest_validate_request_arg',
),
'search' => array(
'description' => esc_html__( 'Limit results to those matching a string.', 'distributor' ),
Expand Down

0 comments on commit 0efefda

Please sign in to comment.