[buddypress-trac] [BuddyPress Trac] #6252: bp_core_referrer() not returning leading slash

buddypress-trac noreply at wordpress.org
Wed Feb 25 02:03:06 UTC 2015


#6252: bp_core_referrer() not returning leading slash
-------------------------------------+--------------------
 Reporter:  mechter                  |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  2.3
Component:  API                      |     Version:  2.2.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+--------------------

Comment (by mechter):

 That would fix the issue but leave the code buggy. Perhaps we could add
 `bp_core_referrer_path()` which correctly returns the leading slash and
 deprecate `bp_core_referrer()`? The new name would reflect that a path is
 being returned rather than complete referrer information.

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


More information about the buddypress-trac mailing list