For Anyone having this issue, go and edit the plugin itself and starting at line 121 to 134 replace what exists with the following code
add_action('init', function(){
global $current_user;
$allowed_roles = array('editor', 'administrator', 'author');
if (array_intersect($allowed_roles, $current_user->roles)) {
function content_clone_link($actions, $post)
{
if (current_user_can('edit_posts')) {
$actions['duplicate'] = '<a href="' . wp_nonce_url('admin.php?action=content_clone&post=' . $post->ID, basename(__FILE__), 'clone_nonce') . '" title="Clone!" rel="permalink">Clone</a>';
}
return $actions;
}
}
add_filter('post_row_actions', 'content_clone_link', 10, 2); // Para artigos
add_filter('page_row_actions', 'content_clone_link', 10, 2); //Para páginas
});
This takes puts this in an init hook so that there is access to the $current_user global variable
@waynep16, @djavet, @jgroh, @indalia, @benooh, @mariopalumbo, @jem111, @mreall – See above fix