You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In WordPress 5.5, the permission_callback argument is now required when registering custom REST endpoints with register_rest_route. If you don't pass that and you have debug turned on, you'll get PHP notices.
Steps to Reproduce
Update to WordPress 5.5
Have debug turned on
Edit or create a new post
See PHP notices
Expected behavior
Should not output any notices when debug is turned on
The text was updated successfully, but these errors were encountered:
Describe the bug
In WordPress 5.5, the
permission_callback
argument is now required when registering custom REST endpoints withregister_rest_route
. If you don't pass that and you have debug turned on, you'll get PHP notices.Steps to Reproduce
Expected behavior
Should not output any notices when debug is turned on
The text was updated successfully, but these errors were encountered: