Skip to content

Commit 2892219

Browse files
author
Bishop Bettini
authored
Merge pull request #96 from rkaiser0324/fix/register-rest-route
fix: correct PHP notice on register-rest-route in WordPress v5.5.0
2 parents 1ad4397 + b4ec45b commit 2892219

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)