Support » Fixing WordPress » 5.4: Sending Post via Email Results in “(no title)” for the post title.

  • Resolved MarkRH

    (@markrh)


    Once a week I send an email to my blog to go into a category I have set for them. Anyway, starting with 5.4, the post titles were all “(no title)”. I did a comparison between wp-mail.php in 5.4 and 5.3. At line 216 changed:

    
    	if ( '' === $post_title ) {
    		$post_title = $subject;
    	}
    

    To:

    
    	if ( '' == $post_title ) {
    		$post_title = $subject;
    	}
    

    Now, the posts get the title from the email’s subject once again. Not sure if this is a bug or emails need to be structured differently now.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘5.4: Sending Post via Email Results in “(no title)” for the post title.’ is closed to new replies.