[buddypress-trac] [BuddyPress Trac] #5501: Custom xprofile field: URL

buddypress-trac noreply at wordpress.org
Mon Apr 21 13:46:17 UTC 2014


#5501: Custom xprofile field: URL
-------------------------+------------------
 Reporter:  sooskriszta  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  2.1
Component:  XProfile     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------

Comment (by johnjamesjacoby):

 > 'foo.com' is being validated ((https?:\/\/)?). If the ultimate goal is
 to display this as a link in the profile, then this can't happen. Ideally,
 we'd be able to detect this sort of thing, and then throw on an 'http://'
 when the field is saved. Want to have a crack at this?

 I'd love for us to remove the scheme from the HTML output, and keep it in
 the HREF. WordPress's `make_clickable()` function might be a good place to
 start digging, too.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5501#comment:14>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list