Support » Plugin: Bulk Password Reset » Trailing whitespace causing errors in some cases

  • The trailing whitespace in the main plugin PHP file bulk_password_reset.php is causing problems on my WordPress installation in some cases. More specifically: when the plugin’s file is loaded, it causes the output buffer to be non-empty, which means that certain kinds of files (such as images delivered via PHP scripts) are not properly interpreted by browsers.

    To fix, change the end of the main plugin file to this:

    //instantiate the class
    if (class_exists('bulk_password_reset')) {
         $bulk_password_reset_var = new bulk_password_reset();

    Note the lack of a closing ?> delimiter, which is optional and is the cause of the trailing whitespace.

  • You must be logged in to reply to this topic.