Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/20/2023 03:07:17 AM (3 years ago)
Author:
imath
Message:

Do the homepage directory check only when the requested URL is home

Fixes #8939
See #4954
Closes https://github.com/buddypress/buddypress/pull/133

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-filters.php

    r13503 r13522  
    977977
    978978            $post = (object) array(
    979                 'ID'                    => $directory->id,
     979                'ID'                    => (int) $directory->id,
    980980                'post_author'           => 0,
    981981                'post_date'             => $null,
Note: See TracChangeset for help on using the changeset viewer.