mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
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:
@@ -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'] ) {
|
||||
|
||||
Reference in New Issue
Block a user