WordPress.org

Make WordPress Core

Ticket #29915: 29915.diff

File 29915.diff, 1.2 KB (added by jeremyfelt, 7 years ago)
  • src/wp-admin/user-new.php

     
    3131%%s' ), get_bloginfo( 'name' ), home_url(), wp_specialchars_decode( translate_user_role( $role['name'] ) ) );
    3232        }
    3333        add_filter( 'wpmu_signup_user_notification_email', 'admin_created_user_email' );
    34 
    35         function admin_created_user_subject( $text ) {
    36                 return sprintf( __( '[%s] Your site invite' ), get_bloginfo( 'name' ) );
    37         }
    3834}
    3935
    4036if ( isset($_REQUEST['action']) && 'adduser' == $_REQUEST['action'] ) {
  • src/wp-includes/ms-deprecated.php

     
    345345        }
    346346        return esc_url_raw( $url );
    347347}
     348
     349/**
     350 * Supply a subject for a site invitation email. Added via filter in MU.
     351 * Never used after WPMU merge.
     352 *
     353 * @since MU
     354 * @deprecated 4.1.0
     355 *
     356 * @return string
     357 */
     358function admin_created_user_subject() {
     359        return sprintf( __( '[%s] Your site invite' ), get_bloginfo( 'name' ) );
     360}
     361 No newline at end of file