WordPress.org

Make WordPress Core

Opened 4 months ago

Closed 2 months ago

#26703 closed enhancement (fixed)

Improve wp_new_user_notification() description

Reported by: antorome Owned by: DrewAPicture
Milestone: 3.9 Priority: normal
Severity: normal Version: 2.0
Component: Login and Registration Keywords: has-patch commit
Focuses: docs Cc:

Description

Hello,

in pluggable.php, line 1280 we have wp_new_user_notification.

In the function description it just says "notify the blog admin" but it is also notifying the new user. I have spent quite a lot of time looking for the function to modify the message to be sent to the user thinking this one was just for the admin.

It is a minor thing but could help others willing to modify these emails.

BR

Attachments (2)

pluggable.diff (440 bytes) - added by antorome 4 months ago.
Modification proposal
26703.diff (538 bytes) - added by DrewAPicture 3 months ago.

Download all attachments as: .zip

Change History (5)

antorome4 months ago

Modification proposal

DrewAPicture3 months ago

comment:1 DrewAPicture3 months ago

  • Keywords has-patch commit added
  • Milestone changed from Awaiting Review to 3.9
  • Summary changed from New user notification comments to Improve wp_new_user_notification() description
  • Version changed from trunk to 2.0

26703.diff takes a slightly different tack.

Notify the blog admin of a new user, normally via email.

becomes

Email login credentials to a newly-registered user.

A new user registration notification is also sent to admin email.

comment:2 nacin3 months ago

  • Component changed from Inline Docs to Login and Registration
  • Focuses docs added

comment:3 DrewAPicture2 months ago

  • Owner set to DrewAPicture
  • Resolution set to fixed
  • Status changed from new to closed

In 27149:

Improve inline documentation for wp_new_user_notification().

Props antorome for the initial patch.
Fixes #26703.

Note: See TracTickets for help on using tickets.