Skip to content

Commit

Permalink
fix permission_callback value updated by mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasbenedetto committed Jan 8, 2024
1 parent d9dace5 commit 677b031
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ public function register_routes() {
array(
'methods' => WP_REST_Server::READABLE,
'callback' => array( $this, 'get_items' ),
'permission_callback' => function () {
return true;},
'permission_callback' => array( $this, 'update_font_library_permissions_check' ),
),
)
);
Expand Down

0 comments on commit 677b031

Please sign in to comment.