Skip to:
Content

BuddyPress.org

Changeset 12947


Ignore:
Timestamp:
05/12/2021 05:50:29 PM (5 years ago)
Author:
imath
Message:

Nouveau: improve the single Activity screen Ajax querystring override

To avoid interfering with other objects loop on this screen, we need to make sure the Ajax querystring is about the activity object before overriding it.

Props sbrajesh

Fixes #8473

File:
1 edited

Legend:

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

    r12946 r12947  
    131131
    132132        // Single activity.
    133         if ( bp_is_single_activity() ) {
     133        if ( bp_is_single_activity() && 'activity' === $object ) {
    134134                $qs = array(
    135135                        'display_comments=threaded',
Note: See TracChangeset for help on using the changeset viewer.