Admins can’t edit each other’s posts

Ok, I got it figured out. For some reason, current_user_can was returning false when an admin went to edit other user’s posts… I have no idea how admins lost the ability to do this, but putting this into functions.php is a workable bandaid that restores admin edit capabilities;

$administrator = get_role('administrator');
$administrator->add_cap('edit_others_posts');

Leave a Comment