- Output for 8.4.9 - 8.4.18
- array(1) {
["/wp/v2/users"]=>
&object(Resolvable)#3 (2) {
["callable":protected]=>
object(Closure)#2 (3) {
["name"]=>
string(22) "{closure:/in/v6Xio:54}"
["file"]=>
string(9) "/in/v6Xio"
["line"]=>
int(54)
}
["resolved":protected]=>
array(2) {
[0]=>
array(4) {
["method"]=>
string(3) "GET"
["callback"]=>
object(Closure)#4 (3) {
["name"]=>
string(22) "{closure:/in/v6Xio:85}"
["file"]=>
string(9) "/in/v6Xio"
["line"]=>
int(85)
}
["args"]=>
array(1) {
["id"]=>
array(0) {
}
}
["permission_callback"]=>
string(13) "__return_true"
}
[1]=>
array(3) {
["method"]=>
string(4) "POST"
["callback"]=>
object(Closure)#6 (3) {
["name"]=>
string(35) "{closure:{closure:/in/v6Xio:54}:64}"
["file"]=>
string(9) "/in/v6Xio"
["line"]=>
int(64)
}
["args"]=>
array(1) {
["id"]=>
array(0) {
}
}
}
}
}
}
string(66) "Sorry, you are not allowed to access users without authentication."
- Output for 8.3.5 - 8.3.18
- array(1) {
["/wp/v2/users"]=>
&object(Resolvable)#3 (2) {
["callable":protected]=>
object(Closure)#2 (0) {
}
["resolved":protected]=>
array(2) {
[0]=>
array(4) {
["method"]=>
string(3) "GET"
["callback"]=>
object(Closure)#4 (0) {
}
["args"]=>
array(1) {
["id"]=>
array(0) {
}
}
["permission_callback"]=>
string(13) "__return_true"
}
[1]=>
array(3) {
["method"]=>
string(4) "POST"
["callback"]=>
object(Closure)#6 (0) {
}
["args"]=>
array(1) {
["id"]=>
array(0) {
}
}
}
}
}
}
string(66) "Sorry, you are not allowed to access users without authentication."