Skip to content

Commit a30e72e

Browse files
authored
Fix key name (#232)
1 parent 114f18c commit a30e72e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/class-wp-rest-oauth1-admin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ protected static function validate_parameters( $params ) {
166166
return array(
167167
'name' => wp_filter_post_kses( $params['name'] ),
168168
'description' => wp_filter_post_kses( $params['description'] ),
169-
'callback' => $params['description'],
169+
'callback' => $params['callback'],
170170
);
171171
}
172172

0 commit comments

Comments
 (0)