WordPress.org

Make WordPress Core

Ticket #16861: user_new.diff

File user_new.diff, 481 bytes (added by ldebrouwer, 4 years ago)

Added translatable function for the "Your site invite" string

  • wp-admin/user-new.php

     
    3131        add_filter( 'wpmu_signup_user_notification_email', 'admin_created_user_email' ); 
    3232 
    3333        function admin_created_user_subject( $text ) { 
    34                 return "[" . get_bloginfo('name') . "] Your site invite"; 
     34                return sprintf( __( '[ %s ] Your site invite' ), get_bloginfo( 'name' ) ); 
    3535        } 
    3636} 
    3737