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

buddypress-trac noreply at wordpress.org
Sat Apr 26 15:16:05 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 dev-feedback  |
Changes (by williamsba1):

 * keywords:  has-patch => has-patch dev-feedback


 Thanks for all the feedback!  Patch 5501.03.patch includes the following

 1.  Included the regex pattern supplied by sooskriszta.  This pattern does
 validate all of the unit test URLs now.  I'm not an expert on regex so
 this is about as far as I can take it.
 2.  Added a check for the scheme and if it doesn't exist the scheme is
 added to the URL when the field is saved.  I used the code WP uses in
 esc_url(), so that should be good to go (Props WordPress!)

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

More information about the buddypress-trac mailing list