Make WordPress Core


Ignore:
Timestamp:
10/24/2014 04:48:31 AM (10 years ago)
Author:
jeremyfelt
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ms-deprecated.php

    r27716 r30005  
    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 the WPMU merge.
     352 *
     353 * @since MU
     354 * @deprecated 4.1.0
     355 *
     356 * @return string
     357 */
     358function admin_created_user_subject() {
     359    _deprecated_function( __FUNCTION__, '4.1' );
     360
     361    return sprintf( __( '[%s] Your site invite' ), get_bloginfo( 'name' ) );
     362}
Note: See TracChangeset for help on using the changeset viewer.