WordPress.org

Make WordPress Core

Changeset 30176


Ignore:
Timestamp:
11/02/2014 02:06:20 AM (7 years ago)
Author:
jeremyfelt
Message:

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

File:
1 edited

Legend:

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

    r30105 r30176  
    344344    return esc_url_raw( $url );
    345345}
    346 
    347 /**
    348  * Supply a subject for a site invitation email. Added via filter in MU.
    349  * Never used after the WPMU merge.
    350  *
    351  * @since MU
    352  * @deprecated 4.1.0
    353  *
    354  * @return string
    355  */
    356 function admin_created_user_subject() {
    357     _deprecated_function( __FUNCTION__, '4.1' );
    358 
    359     return sprintf( __( '[%s] Your site invite' ), get_bloginfo( 'name' ) );
    360 }
Note: See TracChangeset for help on using the changeset viewer.