Skip to content

Commit

Permalink
fix: correct PHP notice on register-rest-route in WordPress v5.5.0
Browse files Browse the repository at this point in the history
(cherry picked from commit b4ec45b)
  • Loading branch information
rkaiser0324 authored and Bishop Bettini committed Nov 17, 2021
1 parent 1ad4397 commit 0374649
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ private function registerTestEndpoint() {
array(
'methods' => 'POST',
'callback' => '\Rollbar\Wordpress\Plugin::testPhpLogging',
'permission_callback' => '__return_true',
'args' => array(
'server_side_access_token' => array(
'required' => true
Expand Down

0 comments on commit 0374649

Please sign in to comment.