Skip to content

Commit

Permalink
Fix key name (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnynews authored Nov 24, 2023
1 parent 114f18c commit a30e72e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/class-wp-rest-oauth1-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ protected static function validate_parameters( $params ) {
return array(
'name' => wp_filter_post_kses( $params['name'] ),
'description' => wp_filter_post_kses( $params['description'] ),
'callback' => $params['description'],
'callback' => $params['callback'],
);
}

Expand Down

0 comments on commit a30e72e

Please sign in to comment.