WordPress.org

Ready to get started?Download WordPress

Forums

Private Messages For WordPress
Bug in v. 2.1.10 (email cannot be sent) (2 posts)

  1. lupolio
    Member
    Posted 1 year ago #

    Hey.
    I found a bug in the latest version that let to problems when sending emails.

    Line 120 in 'inc/send-page.php' is:
    $recipient_email = $wpdb->get_var( "SELECT user_email from $wpdb->users WHERE display_name = '$rec'" );

    must be:
    $recipient_email = $wpdb->get_var( "SELECT user_email from $wpdb->users WHERE user_login = '$rec'" );

    you set $rec to the user_login value in line 74.

    Wondering if that problem only appears for my installation?!

    http://wordpress.org/extend/plugins/private-messages-for-wordpress/

  2. Thanatermesis
    Member
    Posted 10 months ago #

    8 months ago and the problem is not fixed yet ???

    Thanks, it worked for me after to change this too, but, why there's 8 months without it fixed? i cannot use this plugin as this way (what happens if i update the plugin ? the modification is lost? needed to add it again? )

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.