Skip to:
Content

BuddyPress.org

Changeset 12146


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

Nouveau template tags: use right logic into bp_nouveau_signup_hook()

Props sbrajesh

See #7852 (Trunk)

File:
1 edited

Legend:

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

    r12107 r12146  
    21822182    $hook = array( 'bp' );
    21832183
    2184     if ( ! $when ) {
     2184    if ( $when ) {
    21852185        $hook[] = $when;
    21862186    }
    21872187
    2188     if ( ! $prefix ) {
     2188    if ( $prefix ) {
    21892189        if ( 'page' === $prefix ) {
    21902190            $hook[] = 'register';
Note: See TracChangeset for help on using the changeset viewer.