[wp-trac] [WordPress Trac] #28530: WPMU Creating new user does not use welcome notification template

WordPress Trac noreply at wordpress.org
Sat Jun 14 09:56:18 UTC 2014


#28530: WPMU Creating new user does not use welcome notification template
--------------------------------+------------------------------
 Reporter:  jokr                |       Owner:
     Type:  defect (bug)        |      Status:  reopened
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Networks and Sites  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:                      |     Focuses:  multisite
--------------------------------+------------------------------

Comment (by jokr):

 Okay, here we go. As mentioned earlier I see two ways to change this
 behavior:
 a. the 'add-user' action on network/user-new simply calls
 {{{wpmu_welcome_user_notification}}}
  instead of {{{wp_new_user_notification}}}.
 a. {{{wp_new_user_notification}}} checks for multisite and redirects to
 {{{wpmu_welcome_user_notification}}} if necessary

 Both are rather trivial. I chose the second one and tested all ways I know
 to create a new user. The template is now used in all these cases. The
 second variant also keeps the function plugable.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28530#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list