Closed mattleff closed 9 months ago
Since WordPress 5.5.0 calling register_rest_route without a permission_callback triggers a _doing_it_wrong() notice. (source). This will trigger a user error if WP_DEBUG is truthy.
register_rest_route
permission_callback
_doing_it_wrong()
WP_DEBUG
So, looks good!
Thank you!
Since WordPress 5.5.0 calling
register_rest_route
without apermission_callback
triggers a_doing_it_wrong()
notice. (source). This will trigger a user error ifWP_DEBUG
is truthy.