Skip to:
Content

BuddyPress.org

Changeset 5763


Ignore:
Timestamp:
02/13/2012 08:14:40 AM (10 years ago)
Author:
johnjamesjacoby
Message:

Add an is_404() check to bp_is_user() to prevent partial matches from returning true. Fixes #3815.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-template.php

    r5758 r5763  
    11011101
    11021102function bp_is_user() {
    1103     if ( bp_displayed_user_id() )
     1103    if ( bp_displayed_user_id() && !is_404() )
    11041104        return true;
    11051105
Note: See TracChangeset for help on using the changeset viewer.