WordPress.org

Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#25 closed defect (bug) (fixed)

Missing http:// with website for user profile

Reported by: warner Owned by: JasonV
Milestone: Priority: normal
Severity: minor Version:
Component: Administration Keywords:
Focuses: Cc:

Description

If a user has not added http:// in front of his website when editing his profile, clicking the website in the user administration gives a faulty link.

Change History (5)

comment:2 @warner11 years ago

Just a slight mistake, missing a in the regexp, it should be: preg_match('/(https?|ftps?|mailto|news|gopher):/is', $user_data->user_url)

comment:3 @JasonV11 years ago

  • Owner changed from anonymous to JasonV
  • Status changed from new to assigned

comment:4 @JasonV11 years ago

  • Resolution changed from 10 to 20
  • Status changed from assigned to closed

warner: I used your suggestion, but in profile.php instead of users.php, so the correct address is stored in the database, rather than fixed every time it is displayed... although I did still use your suggestion in users.php, but as part of the fix for bug #0000050, not this bug. Thanks for your help!

Note: See TracTickets for help on using tickets.