WordPress.org

Make WordPress Core

Ticket #47605: 45562.patch.2.patch

File 45562.patch.2.patch, 506 bytes (added by viitorcloudvc, 5 months ago)
  • src/wp-includes/pluggable.php

     
    313313                // From email and name
    314314                // If we don't have a name from the input headers
    315315                if ( ! isset( $from_name ) ) {
    316                         $from_name = 'WordPress';
     316                        $from_name = get_bloginfo('name');
    317317                }
    318318
    319319                /* If we don't have an email from the input headers default to wordpress@$sitename