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

buddypress-trac noreply at wordpress.org
Wed Feb 25 14:46:15 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):

 We could extract the code from `bp_core_referrer()` into
 `bp_core_set_uri_globals()`, fix the leading slash there, deprecate
 `bp_core_referrer()` and unit test `bp_core_set_uri_globals()`. We would
 have some duplicate code for a while. How many major/minor versions are
 deprecated functions kept in core?

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


More information about the buddypress-trac mailing list