WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Facebook Like Button] Please change include paths

[Plugin: Facebook Like Button] Please change include paths

  • In your extension, you’re using ABSPATH like so:
    require_once(ABSPATH . "wp-content/plugins/facebook-like-button/inc/local.inc.php");

    it would be better for people who do not have their wp-content under ABSPATH to use

    require_once(dirname(__FILE__) . "/inc/local.inc.php");

    and likewise for all other files that are being required. Please change that so I don’t have to for every update you release.

    Thanks!

    http://wordpress.org/extend/plugins/facebook-like-button/

  • The topic ‘[Plugin: Facebook Like Button] Please change include paths’ is closed to new replies.