Skip to content

Commit 0374649

Browse files
rkaiser0324Bishop Bettini
authored andcommitted
fix: correct PHP notice on register-rest-route in WordPress v5.5.0
(cherry picked from commit b4ec45b)
1 parent 1ad4397 commit 0374649

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Plugin.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ private function registerTestEndpoint() {
164164
array(
165165
'methods' => 'POST',
166166
'callback' => '\Rollbar\Wordpress\Plugin::testPhpLogging',
167+
'permission_callback' => '__return_true',
167168
'args' => array(
168169
'server_side_access_token' => array(
169170
'required' => true

0 commit comments

Comments
 (0)