One of our usability testers at work brought this issue up just after we launched a site using this plugin. Their comment: “…when you ask “who is this person and what makes their opinion matter?” — there’s no answer.”
I modified this code to generate the appropriate links, but it currently requires a manual edit of an extra PHP file containing an array (I’m using it with a jQuery plugin as well). If you’re experienced with PHP, the output line can be changed to look *something* like this:
$output = '<a href="/authors/#'.$authordata->nickname.'">'.$output.'</a>';
If you drop it in an if
clause that tests for a particular condition, then you can eliminate the possibility of a recursive link showing up with that photo on that author’s bio page.
I also found a bug: if you install this plugin, then import a bunch of posts from another site, then DELETE those posts (i.e., change your mind), the userphoto_the_author_thumbnail fails to call the thumbnails on new posts.