Delete admin_created_user_subject() rather than deprecate

As it was never used as anything more than a callback to a filter before the MU merge, and is only available in user-new.php in multisite, it is safe to remove this function entirely.

Fixes #29915

Built from https://develop.svn.wordpress.org/trunk@30176


git-svn-id: http://core.svn.wordpress.org/trunk@30176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Jeremy Felt 2014-11-02 02:07:23 +00:00
parent c3f51ce97a
commit 00c86aea63
2 changed files with 1 additions and 16 deletions

View File

@ -342,19 +342,4 @@ function get_blogaddress_by_domain( $domain, $path ) {
}
}
return esc_url_raw( $url );
}
/**
* Supply a subject for a site invitation email. Added via filter in MU.
* Never used after the WPMU merge.
*
* @since MU
* @deprecated 4.1.0
*
* @return string
*/
function admin_created_user_subject() {
_deprecated_function( __FUNCTION__, '4.1' );
return sprintf( __( '[%s] Your site invite' ), get_bloginfo( 'name' ) );
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.1-alpha-30175';
$wp_version = '4.1-alpha-30176';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.