Skip to:
Content

BuddyPress.org

Changeset 12147


Ignore:
Timestamp:
05/29/2018 07:09:28 PM (8 years ago)
Author:
imath
Message:

Nouveau template tags: use right logic into bp_nouveau_signup_hook()

Props sbrajesh

Fixes #7852 (Branch 3.0)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/src/bp-templates/bp-nouveau/includes/template-tags.php

    r12105 r12147  
    21782178    $hook = array( 'bp' );
    21792179
    2180     if ( ! $when ) {
     2180    if ( $when ) {
    21812181        $hook[] = $when;
    21822182    }
    21832183
    2184     if ( ! $prefix ) {
     2184    if ( $prefix ) {
    21852185        if ( 'page' === $prefix ) {
    21862186            $hook[] = 'register';
Note: See TracChangeset for help on using the changeset viewer.