Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/03/2014 03:39:14 PM (10 years ago)
Author:
johnjamesjacoby
Message:

Use uppercase ID in WP_User based objects to prevent deprecated notices. See #5979.

File:
1 edited

Legend:

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

    r9051 r9116  
    10641064
    10651065            foreach ( (array) $paged_users as $user ) {
    1066                 $user_ids[] = $user->id;
     1066                $user_ids[] = $user->ID;
    10671067            }
    10681068
     
    11351135        $user_ids = array();
    11361136        foreach ( (array) $paged_users as $user )
    1137             $user_ids[] = (int) $user->id;
     1137            $user_ids[] = (int) $user->ID;
    11381138
    11391139        // Add additional data to the returned results
     
    12231223         */
    12241224        foreach ( (array) $paged_users as $user )
    1225             $user_ids[] = $user->id;
     1225            $user_ids[] = $user->ID;
    12261226
    12271227        // Add additional data to the returned results
Note: See TracChangeset for help on using the changeset viewer.