[buddypress-trac] [BuddyPress] #4820: Activation Link bug ? (404)

buddypress-trac noreply at wordpress.org
Tue Feb 12 10:17:11 UTC 2013


#4820: Activation Link bug ? (404)
--------------------------+------------------------
 Reporter:  grosbouff     |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Core          |     Version:  1.7
 Severity:  normal        |  Resolution:  duplicate
 Keywords:                |
--------------------------+------------------------

Comment (by grosbouff):

 Hi, after further investigation, I don't think the problem has to deal
 with bp_core_wpsignup_redirect().
 My problem concerns the activation link...
 I dug the code a little and found that :
 The link is returned in the email by the function
 bp_get_activation_page().

 In bp_get_activation_page(),
 bp_has_custom_activation_page() returns false, and that's strange because
 I have an activation page setup in settings>buddypress>pages.

 In bp_has_custom_activation_page(),
 bp_get_activate_slug returns true BUT bp_locate_template( array(
 'registration/activate.php', 'members/activate.php', 'activate.php' ),
 false ) returns false.

 I think the problem is there.
 In the 3 theme stacks (my parent theme - my child theme - the bp-legacy
 theme); there are no
 * registration/active.php
 * activate.php
 templates, BUT there is a members/activate.php file under the folder
 buddypress of the bp-legacy theme.
 Seems come bp_locate_template checks for files inside /bp-templates/bp-
 legacy/ and not /bp-templates/bp-legacy/buddypress/ ?  Is it normal ?

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


More information about the buddypress-trac mailing list