Make WordPress Core

Opened 21 years ago

Closed 21 years ago

Last modified 8 years ago

#25 closed defect (bug) (fixed)

Missing http:// with website for user profile

Reported by: warner's profile warner Owned by: jasonv's profile 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 (7)

#2 @warner
21 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)

#3 @JasonV
21 years ago

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

#4 @JasonV
21 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!

This ticket was mentioned in Slack in #core-fields by loganyott. View the logs.


9 years ago

This ticket was mentioned in Slack in #core by westonruter. View the logs.


8 years ago

Note: See TracTickets for help on using tickets.