lekandu
Forum Replies Created
-
Forum: Hacks
In reply to: Rogue email address stopping sending with wp_mailIn a minor breakthrough.
The bogus email address was on a domain which does exist (one of mine) – just the name was for an account which didn’t exists i.e. bogus@mydomain.net
I changed it to a totally fake address (bogus@somewherethatdoesntexist.com) and things cleared up.
so it’s somehow related to the setup on my host?
not sure how that would affect other emails, to other domains, on the same BCC though. doesn’t make sense to my tired brain.Forum: Plugins
In reply to: [User Avatar] [Plugin: User AvatarI found the issue causing the message “Sorry, Image not available” after cropping to be to do with a site hosted on a windows server. For some reason the wordpress sanitising code esc_url returns an empty string with windows IIS. Hence the form id=”iframe-crop-form” has no value for the hidden input element “attachment_file” and the image gets lost (although it has actually been uploaded to the general uploads directory).
My quick fix was to change line 280 of user-avatar.php (as of version 1.2.1)
from
<input type="hidden" name="attachment_file" id="attachment_file" value="<?php echo esc_url($file); ?>" />
to
<input type="hidden" name="attachment_file" id="attachment_file" value="<?php echo $file; ?>" />i’m sure there’s a better solution for this but it’s lunch time now and so i have other priorities. cheers.