@rosyteddy, I found that the quickest, easiest, and most efficient solution was to substitute a different login widget. This one I found really works perfectly for me:
Thanks, @rosyteddy, I’ll try that. But at the same time I’m also looking at alternative sidebar login plugins. I’ll let you know if I find a good alternative (viz. link to full registration form + doesn’t display WP admin bar)
Thanks very much for the suggestion! that looks like that ought to work, even if not the most elegant solution which, I suspect, is something like a final ‘else’ statement like this:
else{
$return[‘result’] = false;
$return[‘error’] = __(‘Oops! you forgot your username and password.’, ‘bp-login-widget’);
}
$return[‘action’] = ‘login’;
Sorry … I guess I should have mentioned that I’m using WordPress v.4.1.1 and BuddyPress v.2.2.1
The site URL is: http://mylifeismymuseum.eu/mlimm/activity/ and that I have tested with several different themes.
So asking again … I’ve found that, if a site member clicks the ‘Log In’ button without first entering their username and password, the page redirects to the default WordPress login page (/wp-login.php)
How (and where) might I modify the code so that, instead, it simply fails or, better, displays a an error message to remind the user to fill in their login credentials?