-
Notifications
You must be signed in to change notification settings - Fork 33
Labels
[Status] In ProgressAssigned work scheduledAssigned work scheduled
Milestone
Description
Follow-up for:
REST API needs detailed error messages with HTTP status codes. While WP_Ability::execute() validates internally, it only returns false and logs with _doing_it_wrong(), which doesn't provide capturable error messages. Related code that handles it today:
Consider updating WP_Ability to return WP_Error for better error handling which would then simplify and unify the implementation in REST API controller.
justlevine
Metadata
Metadata
Assignees
Labels
[Status] In ProgressAssigned work scheduledAssigned work scheduled