Hello,
similar issue with Pagelayer provided by default with my web host,
No subject and mail from wordpress@
I had to manually update :
www/XXX/cms/wp-includes/pluggable.php
MODIFIED:
if ( ! isset( $from_email ) ) {
// Get the site domain and get rid of www.
$sitename = wp_parse_url( network_home_url(), PHP_URL_HOST );
=> $from_email = 'alain@';
if ( null !== $sitename ) {
if ( 'www.' === substr( $sitename, 0, 4 ) ) {
$sitename = substr( $sitename, 4 );
}
$from_email .= $sitename;
}
}
ADDED:
=> if ( empty($subject) ) {
$subject = 'Wordpress mail';
}
|