Skip to:
Content

BuddyPress.org

Changeset 3661 for trunk/bp-activity.php


Ignore:
Timestamp:
01/05/2011 10:27:07 PM (14 years ago)
Author:
djpaul
Message:

Don't include wp-includes/registration.php if on WordPress 3.1. Fixes #2997

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity.php

    r3641 r3661  
    547547
    548548    if ( $usernames = bp_activity_find_mentions( strip_tags( $activity->content ) ) ) {
    549         include_once( ABSPATH . WPINC . '/registration.php' );
     549        bp_core_maybe_include_user_registration_file();
    550550
    551551        foreach( (array)$usernames as $username ) {
Note: See TracChangeset for help on using the changeset viewer.