[buddypress-trac] [BuddyPress Trac] #6204: Move bp_loggedin_register_page_redirect_to into helper function

buddypress-trac noreply at wordpress.org
Tue Feb 10 00:06:29 UTC 2015


#6204: Move bp_loggedin_register_page_redirect_to into helper function
-----------------------------------------+---------------------------------
 Reporter:  johnjamesjacoby              |      Owner:
     Type:  enhancement                  |     Status:  new
 Priority:  normal                       |  Milestone:  2.3
Component:  API - Sign ups & Activation  |    Version:  1.5
 Severity:  normal                       |   Keywords:  needs-patch 2nd-
                                         |  opinion
-----------------------------------------+---------------------------------
 Right now the `bp_loggedin_register_page_redirect_to` filter is manually
 called in 2 separate places, making it somewhat confusing to learn 1
 filter is called in two places.

 Extracting this into a function would eliminate duplicate filter
 documentation, and funnel filters and functionality down into 1 standard
 place where it's more obvious what function and filter is responsible for
 bouncing a logged in user away from the registration page to another
 destination.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6204>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list