Sorry to revive an old thread, but I found a similar bug on this:
I give wordpress its own directory on most of my installs. This means that bloginfo('url') is not the same as bloginfo('wpurl'), and...