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 was archived by the owner on Sep 24, 2018. It is now read-only.
Repository navigation
This repository was 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.
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.