Make WordPress Core

Ticket #49853: 49853.2.diff

File 49853.2.diff, 334 bytes (added by whyisjake, 5 years ago)
  • src/wp-mail.php

     
    213213
    214214        $post_title = xmlrpc_getposttitle( $content );
    215215
    216         if ( '' === $post_title ) {
     216        if ( '' === trim( $post_title ) ) {
    217217                $post_title = $subject;
    218218        }
    219219