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-admin/user-new.php

    r29966 r30005  
    3232    }
    3333    add_filter( 'wpmu_signup_user_notification_email', 'admin_created_user_email' );
    34 
    35     function admin_created_user_subject( $text ) {
    36         return sprintf( __( '[%s] Your site invite' ), get_bloginfo( 'name' ) );
    37     }
    3834}
    3935
Note: See TracChangeset for help on using the changeset viewer.