• Hello,

    if the user is authenticated and the plugin is activated the preview is not working even if the user has the rights to view the post preview. I have fixed this with the following change:

    In simple-preview.php, line 114 replace the code:

    if ( !isset($preview_posts[$this->id])

    with the following code:

    if ( !isset($preview_posts[$this->id]) AND !current_user_can('edit_post', $this->id))

    Regards

    https://www.ads-software.com/plugins/simple-preview/

  • The topic ‘Not working if user is logged’ is closed to new replies.