WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: MailChimp List Subscribe Form] WP_PLUGIN_DIR (1 post)

  1. blogologist
    Member
    Posted 4 years ago #

    Here is an improvement/bug fix for your WordPress plugin.

    in the analytics360.php file...

    replace all instances of ABSPATH.PLUGINDIR with WP_PLUGIN_DIR.

    No need to complicate it the way you do, and it's also not best practice to hard-code it because ppl can change the name of the wp-content directory.

    I did, and your plugin broke!

    Hence this "best practice" approach.

    -Alister

    alistercameron.com

    http://wordpress.org/extend/plugins/mailchimp/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags