WordPress.org

Make WordPress Core

Ticket #49853: 49853.diff

File 49853.diff, 337 bytes (added by whyisjake, 20 months 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