Incorrect Error Message When Users Attempt to Add API Key using WP Stats
|Reported by:||bubel||Owned by:||andy|
Description (last modified by westi)
Incorrect Error Message When Users Attempt to Add API Key of a user who is not on the blog's access list.
When a user attempts to add the API key of another user who is not on the blog's access list, an incorrect error message is displayed.
For instance, if user A wanted to add user B's API Key to a blog, an error message will display is user B is not on the blog's access list. However, the error message will read:
Error from last API Key attempt:
The owner of that API Key (user A) is not on the access list for this
blog (blog_id_goes_here). To be added to the access list, you must contact support.
The error message should display user B instead of user A.