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
{{ message }}
This repository has been archived by the owner on Sep 24, 2018. It is now read-only.
Currently when you update a meta value, it checks current_user_can('edit_post_meta') regardless of the actual object type. It needs to use object type dependent capability checks. These aren't in core yet but there's a ticket here: https://core.trac.wordpress.org/ticket/38284
A workaround for the time being would be to check edit_{$object_type} I suppose.
The text was updated successfully, but these errors were encountered:
I think I was a little unclear before -- what I meant to say was that comment meta, term meta and user meta can't be updated using the REST API due to the issue in core.
Currently when you update a meta value, it checks
current_user_can('edit_post_meta')
regardless of the actual object type. It needs to use object type dependent capability checks. These aren't in core yet but there's a ticket here:https://core.trac.wordpress.org/ticket/38284
A workaround for the time being would be to check
edit_{$object_type}
I suppose.The text was updated successfully, but these errors were encountered: