WordPress.org

Ready to get started?Download WordPress

Forums

Facebook Like Button
Please change include paths (1 post)

  1. kwisatz
    Member
    Posted 2 years ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic