Make WordPress Core

Ticket #19847: 19847.patch

File 19847.patch, 572 bytes (added by SergeyBiryukov, 15 years ago)
  • wp-includes/pluggable.php

     
    254254                                        case 'from':
    255255                                                if ( strpos($content, '<' ) !== false ) {
    256256                                                        // So... making my life hard again?
    257                                                         $from_name = substr( $content, 0, strpos( $content, '<' ) - 1 );
     257                                                        $from_name = substr( $content, 0, strpos( $content, '<' ) );
    258258                                                        $from_name = str_replace( '"', '', $from_name );
    259259                                                        $from_name = trim( $from_name );
    260260