Support » Plugin: Simple Facebook OG image » New embedly feature breaks plugin

  • oddjobz

    (@oddjobz)


    The embedly change you just added breaks things. At line #74 in simple-facebook-ogimage.php you reference the function “is_plugin_active”, unfortunately this function is admin-only, so it works if you are logged in to the site, but not if you are a visitor. Quite dangerous as it “looks” to the site administrator like the site is working fine, but broken for all visitors.

    The problem should be solved by adding this to the beginning of the file;
    include_once( ABSPATH . 'wp-admin/includes/plugin.php' );

    hth.

Viewing 1 replies (of 1 total)
  • Plugin Author antubis

    (@antubis)

    Hi,

    Thanks for the info. The plugin is fixed. Please update it to version 1.3.1 if you want to continue to use it.

    Regards

Viewing 1 replies (of 1 total)
  • The topic ‘New embedly feature breaks plugin’ is closed to new replies.