Skip to:
Content

BuddyPress.org

Changeset 1996


Ignore:
Timestamp:
09/29/2009 07:30:32 PM (15 years ago)
Author:
apeatling
Message:

Removing referrer redirect on log in and redirecting back to root domain to avoid redirecting off site.

Location:
trunk/bp-themes/bp-sn-parent
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-sn-parent/header.php

    r1993 r1996  
    5454                    <?php endif; ?>
    5555                   
    56                     <input type="hidden" name="redirect_to" value="<?php echo wp_get_referer() ?>" />
     56                    <input type="hidden" name="redirect_to" value="<?php echo bp_root_domain() ?>" />
    5757                    <input type="hidden" name="testcookie" value="1" />
    5858                       
  • trunk/bp-themes/bp-sn-parent/userbar.php

    r1995 r1996  
    3636            <p class="submit">
    3737                <input type="submit" name="wp-submit" id="userbar_wp-submit" value="<?php _e('Log In'); ?>" tabindex="100" />
    38                 <input type="hidden" name="redirect_to" value="<?php echo wp_get_referer() ?>" />
     38                <input type="hidden" name="redirect_to" value="<?php echo bp_root_domain() ?>" />
    3939                <input type="hidden" name="testcookie" value="1" />
    4040            </p>
Note: See TracChangeset for help on using the changeset viewer.