Opened 9 years ago
Closed 5 years ago
#35778 closed enhancement (fixed)
Populate Website URL profile field for the 1st user after install
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.4 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Users | Keywords: | good-first-bug has-patch |
Focuses: | administration | Cc: |
Description
When a new WP install is made, the 1st user (admin) could have the "Website" profile field (displayed at /wp-admin/profile.php) populated with the site's URL, as this will most likely be his choice anyway. This field is likely used by some plugins (for displaying author bio etc.), so we can make this a bit easier and less likely to be left empty.
Attachments (3)
Change History (11)
#2
follow-up:
↓ 3
@
9 years ago
Any thought on whether this should happen if the domain is localhost?
I assume, like all other URLs in the DB, that it will be updated when the site is moved to live.
#3
in reply to:
↑ 2
@
9 years ago
I agree with it just being "localhost" or whatever the local name of the site is on site create. Like you said, when you run a script to change URLs like searchreplacedb2.php or the like, it should just change things automatically.
#4
@
9 years ago
- Keywords has-patch added; needs-patch removed
- Owner set to EFAREM
- Status changed from new to assigned
Assigning to mark the good-first-bug as "claimed".
See 35778.2.diff
Updates the user info just after the user is created