Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/16/2012 12:52:24 AM (14 years ago)
Author:
johnjamesjacoby
Message:

Replace ambiguous 'object' phpdoc references with more accurate descriptions for the $bp global

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/bp-xprofile-functions.php

    r5821 r5926  
    192192 * @param $user_id The ID of the user
    193193 * @param $value The value for the field you want to set for the user.
    194  * @global object $bp Global BuddyPress settings object
     194 * @global BuddyPress $bp The one true BuddyPress instance
    195195 * @uses xprofile_get_field_id_from_name() Gets the ID for the field based on the name.
    196196 * @return true on success, false on failure.
     
    329329 * @param $user_id User ID of the user to get random data for
    330330 * @param $exclude_fullname whether or not to exclude the full name field as random data.
    331  * @global object $bp Global BuddyPress settings object
     331 * @global BuddyPress $bp The one true BuddyPress instance
    332332 * @global $wpdb WordPress DB access object.
    333333 * @global $current_user WordPress global variable containing current logged in user information
Note: See TracChangeset for help on using the changeset viewer.