Skip to:
Content

BuddyPress.org

Changeset 4467


Ignore:
Timestamp:
06/06/2011 09:01:44 PM (14 years ago)
Author:
djpaul
Message:

Tweak of phpdoc from r4465

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/functions.php

    r4465 r4467  
    661661/**
    662662 * Adds a hidden "redirect_to" input field to the sidebar login form.
    663  * Put here temporarily for proof-of-concept.
    664663 *
    665664 * @since 1.3
    666665 */
    667666function bp_dtheme_sidebar_login_redirect_to() {
    668     $redirect_to = apply_filters( 'bp_no_access_redirect', isset( $_REQUEST['redirect_to'] ) ? $_REQUEST['redirect_to'] : '' );
     667    $redirect_to = apply_filters( 'bp_no_access_redirect', !empty( $_REQUEST['redirect_to'] ) ? $_REQUEST['redirect_to'] : '' );
    669668?>
    670669    <input type="hidden" name="redirect_to" value="<?php echo esc_attr( $redirect_to ); ?>" />
Note: See TracChangeset for help on using the changeset viewer.