Deprecate admin_created_user_subject()

When `admin_created_user_subjec()` was merged from MU, the accompanying filter was left behind. As it has never been used by WordPress core, and is not an otherwise useful function, it can be deprecated.

Fixes #29915


git-svn-id: https://develop.svn.wordpress.org/trunk@30005 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jeremy Felt
2014-10-24 04:48:31 +00:00
parent 382871ad9d
commit c7ad092b1d
2 changed files with 15 additions and 4 deletions
-4
View File
@@ -31,10 +31,6 @@ Please click the following link to activate your user account:
%%s' ), get_bloginfo( 'name' ), home_url(), wp_specialchars_decode( translate_user_role( $role['name'] ) ) );
}
add_filter( 'wpmu_signup_user_notification_email', 'admin_created_user_email' );
function admin_created_user_subject( $text ) {
return sprintf( __( '[%s] Your site invite' ), get_bloginfo( 'name' ) );
}
}
if ( isset($_REQUEST['action']) && 'adduser' == $_REQUEST['action'] ) {