WordPress.org

Make WordPress Core

Opened 8 months ago

Last modified 8 months ago

#51792 new defect (bug)

Add Home URL to New User emails

Reported by: Ipstenu Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Users Keywords: has-patch needs-testing
Focuses: Cc:

Description

Back when we all had one website and we jolly well liked it, it was easy to know "Oh someone signed up at my site!" Now that people manage multiple sites, some with similar names, it can be confusing as to which site, exactly, did the new user join.

We can save headaches in this one cool trick ... add the Home URL to the emails.

Attachments (2)

51792.diff (966 bytes) - added by Ipstenu 8 months ago.
51792-2.diff (971 bytes) - added by Ipstenu 8 months ago.

Download all attachments as: .zip

Change History (6)

@Ipstenu
8 months ago

#1 @mukesh27
8 months ago

  • Keywords needs-refresh added

Can you please add missing slash in home_url() for consistency?

$homeurl = home_url();

Replace to

$homeurl = home_url( '/' );

@Ipstenu
8 months ago

#3 @davidbaumwald
8 months ago

  • Keywords needs-refresh removed

#4 @davidbaumwald
8 months ago

  • Keywords needs-testing added

Sorry for the noise. Adding a call for testing.

Note: See TracTickets for help on using tickets.