WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
Mandrill fix from the MailChimp gang (and possible fix for many other plugins) (1 post)

  1. treybo
    Member
    Posted 11 months ago #

    Developers original post is here. Copied below for convenience.

    Hello,

    Problem is that NextGEN is loading the following file in its constructor:
    include_once(path_join(ABSPATH, 'wp-includes/pluggable.php'));

    That files loads the whole library of WordPress pluggable functions which have not been loaded by the time it is included. Unfortunately wp_mail is one of those functions that gets loaded.

    So plugins fail (wpMandrill or NextGEN or whatever) when they try to override any pluggable function after NextGEN has been declared/loaded. wpMandrill, at least, fails gratefully! ;)

    They should try to makes NextGEN load after all other plugins have been loaded, or implement a lazy/delayed loading in their plugin.

    http://wordpress.org/plugins/nextgen-gallery/

Reply

You must log in to post.

About this Plugin

About this Topic