WordPress.org

Ready to get started?Download WordPress

Forums

User Avatar
Bug in URL for "Remove User Avatar Image", Line 698 of user-avatar.php (1 post)

  1. Mike Schinkel
    Member
    Posted 3 years ago #

    Hi,

    I've found and fixed a bug in the URL for "Remove User Avatar Image", Line 698 of user-avatar.php. This is what it has:

    <a href="?delete_avatar=true" title="Remove User Avatar Image">Remove User Avatar</a>

    This is what it should be:

    <a href="?delete_avatar=true&user_id=<?php echo $profile->ID; ?>" title="Remove User Avatar Image">Remove User Avatar</a>

    Could I get a confirmation you'll be adding this to fix to the next released version?

    Thanks in advance.

    -Mike

    http://wordpress.org/extend/plugins/user-avatar/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic