Changeset 5926
- Timestamp:
- 03/16/2012 12:52:24 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-classes.php
r5920 r5926 404 404 * Get activity comments that are associated with a specific activity ID 405 405 * 406 * @global object $bp Global BuddyPress settings object406 * @global BuddyPress $bp The one true BuddyPress instance 407 407 * @global wpdb $wpdb WordPress database object 408 408 * @param int $activity_id Activity ID to fetch comments for -
trunk/bp-blogs/bp-blogs-functions.php
r5899 r5926 8 8 * @since 1.5 9 9 * 10 * @global object $bp Global BuddyPress settings object10 * @global BuddyPress $bp The one true BuddyPress instance 11 11 * @return bool True if set, False if empty 12 12 */ -
trunk/bp-core/admin/bp-core-functions.php
r5885 r5926 131 131 * @since 1.5 132 132 * 133 * @global object $bp Global BuddyPress settings object133 * @global BuddyPress $bp The one true BuddyPress instance 134 134 * @uses bp_current_user_can() to check current user permissions before showing the notices 135 135 * @uses bp_is_root_blog() … … 171 171 * @since 1.5 172 172 * 173 * @global object $bp Global BuddyPress settings object173 * @global BuddyPress $bp The one true BuddyPress instance 174 174 * @param string $notice The notice you are adding to the queue 175 175 */ -
trunk/bp-core/bp-core-avatars.php
r5897 r5926 78 78 * default, but can be extended to include your own custom components too. 79 79 * 80 * @global object $bp Global BuddyPress settings object80 * @global BuddyPress $bp The one true BuddyPress instance 81 81 * @global $current_blog WordPress global containing information and settings for the current blog being viewed. 82 82 * @param array $args Determine the output of this function -
trunk/bp-core/bp-core-buddybar.php
r5923 r5926 16 16 * 17 17 * @package BuddyPress Core 18 * @global object $bp Global BuddyPress settings object18 * @global BuddyPress $bp The one true BuddyPress instance 19 19 */ 20 20 function bp_core_new_nav_item( $args = '' ) { … … 121 121 * 122 122 * @package BuddyPress Core 123 * @global object $bp Global BuddyPress settings object123 * @global BuddyPress $bp The one true BuddyPress instance 124 124 */ 125 125 function bp_core_new_nav_default( $args = '' ) { … … 191 191 * 192 192 * @package BuddyPress Core 193 * @global object $bp Global BuddyPress settings object193 * @global BuddyPress $bp The one true BuddyPress instance 194 194 */ 195 195 function bp_core_sort_nav_items() { … … 224 224 * 225 225 * @package BuddyPress Core 226 * @global object $bp Global BuddyPress settings object226 * @global BuddyPress $bp The one true BuddyPress instance 227 227 */ 228 228 function bp_core_new_subnav_item( $args = '' ) { … … 452 452 * @package BuddyPress Core 453 453 * @param $parent_id The id of the parent navigation item. 454 * @global object $bp Global BuddyPress settings object454 * @global BuddyPress $bp The one true BuddyPress instance 455 455 */ 456 456 function bp_core_reset_subnav_items( $parent_slug ) { -
trunk/bp-core/bp-core-classes.php
r5906 r5926 374 374 * Fetches the user details for all the users who username starts with the letter given. 375 375 * 376 * @global object $bp Global BuddyPress settings object376 * @global BuddyPress $bp The one true BuddyPress instance 377 377 * @global wpdb $wpdb WordPress database object 378 378 * @param string $letter The letter the users names are to start with. … … 482 482 * Find users who match on the value of an xprofile data. 483 483 * 484 * @global object $bp Global BuddyPress settings object484 * @global BuddyPress $bp The one true BuddyPress instance 485 485 * @global wpdb $wpdb WordPress database object 486 486 * @param string $search_terms The terms to search the profile table value column for. … … 526 526 * Accepts multiple user IDs to fetch data for. 527 527 * 528 * @global object $bp Global BuddyPress settings object528 * @global BuddyPress $bp The one true BuddyPress instance 529 529 * @global wpdb $wpdb WordPress database object 530 530 * @param array $paged_users an array of stdClass containing the users … … 707 707 * Update or insert notification details into the database. 708 708 * 709 * @global object $bp Global BuddyPress settings object709 * @global BuddyPress $bp The one true BuddyPress instance 710 710 * @global wpdb $wpdb WordPress database object 711 711 * @return bool Success or failure … … 736 736 * Fetches the notification data from the database. 737 737 * 738 * @global object $bp Global BuddyPress settings object738 * @global BuddyPress $bp The one true BuddyPress instance 739 739 * @global wpdb $wpdb WordPress database object 740 740 */ … … 764 764 * Fetches all the notifications in the database for a specific user. 765 765 * 766 * @global object $bp Global BuddyPress settings object766 * @global BuddyPress $bp The one true BuddyPress instance 767 767 * @global wpdb $wpdb WordPress database object 768 768 * @param integer $user_id User ID … … 782 782 * Delete all the notifications for a user based on the component name and action. 783 783 * 784 * @global object $bp Global BuddyPress settings object784 * @global BuddyPress $bp The one true BuddyPress instance 785 785 * @global wpdb $wpdb WordPress database object 786 786 * @param integer $user_id … … 798 798 * Delete all the notifications that have a specific item id, component name and action. 799 799 * 800 * @global object $bp Global BuddyPress settings object800 * @global BuddyPress $bp The one true BuddyPress instance 801 801 * @global wpdb $wpdb WordPress database object 802 802 * @param integer $user_id The ID of the user who the notifications are for. … … 818 818 * Deletes all the notifications sent by a specific user, by component and action. 819 819 * 820 * @global object $bp Global BuddyPress settings object820 * @global BuddyPress $bp The one true BuddyPress instance 821 821 * @global wpdb $wpdb WordPress database object 822 822 * @param integer $user_id The ID of the user whose sent notifications we wish to delete. … … 834 834 * Deletes all the notifications for all users by item id, and optional secondary item id, and component name and action. 835 835 * 836 * @global object $bp Global BuddyPress settings object836 * @global BuddyPress $bp The one true BuddyPress instance 837 837 * @global wpdb $wpdb WordPress database object 838 838 * @param string $item_id The item id that they notifications are to be for. -
trunk/bp-core/bp-core-functions.php
r5925 r5926 323 323 * 324 324 * @package BuddyPress Core 325 * @global object $bp Global BuddyPress settings object325 * @global BuddyPress $bp The one true BuddyPress instance 326 326 */ 327 327 function bp_core_render_message() { … … 1106 1106 * Trigger a 404 1107 1107 * 1108 * @global object $bp Global BuddyPress settings object1108 * @global BuddyPress $bp The one true BuddyPress instance 1109 1109 * @global WP_Query $wp_query WordPress query object 1110 1110 * @param string $redirect If 'remove_canonical_direct', remove WordPress' "helpful" redirect_canonical action. -
trunk/bp-core/bp-core-template.php
r5822 r5926 15 15 * 16 16 * @package BuddyPress Core 17 * @global object $bp Global BuddyPress settings object17 * @global BuddyPress $bp The one true BuddyPress instance 18 18 * @uses bp_get_user_nav() Renders the navigation for a profile of a currently viewed user. 19 19 */ … … 75 75 * 76 76 * @package BuddyPress Core 77 * @global object $bp Global BuddyPress settings object77 * @global BuddyPress $bp The one true BuddyPress instance 78 78 */ 79 79 function bp_has_options_avatar() { … … 650 650 * @since 1.5 651 651 * 652 * @global object $bp Global BuddyPress settings object652 * @global BuddyPress $bp The one true BuddyPress instance 653 653 * @param string $component Optional. Defaults to the current component 654 654 * @return string $root_slug The root slug … … 686 686 * 687 687 * @since BuddyPress {r3923} 688 * @global object $bp Global BuddyPress settings object688 * @global BuddyPress $bp The one true BuddyPress instance 689 689 * @param str $root_slug Needle to our active component haystack 690 690 * @return mixed False if none found, component name if found … … 954 954 * page in wp-admin's Settings > Reading screen. 955 955 * 956 * @global object $bp Global BuddyPress settings object956 * @global BuddyPress $bp The one true BuddyPress instance 957 957 * @global $current_blog WordPress global for the current blog 958 958 * @param string $component Optional; Name of the component to check for. -
trunk/bp-forums/bp-forums-functions.php
r5918 r5926 46 46 * @since 1.5 47 47 * 48 * @global object $bp Global BuddyPress settings object48 * @global BuddyPress $bp The one true BuddyPress instance 49 49 * @return bool True if set, False if empty 50 50 */ -
trunk/bp-groups/bp-groups-functions.php
r5878 r5926 21 21 * @since 1.5 22 22 * 23 * @global object $bp Global BuddyPress settings object23 * @global BuddyPress $bp The one true BuddyPress instance 24 24 * @return bool True if set, False if empty 25 25 */ -
trunk/bp-members/bp-members-functions.php
r5840 r5926 18 18 * @since 1.5 19 19 * 20 * @global object $bp Global BuddyPress settings object20 * @global BuddyPress $bp The one true BuddyPress instance 21 21 * @return bool True if set, False if empty 22 22 */ … … 35 35 * 36 36 * @package BuddyPress Core Core 37 * @global object $bp Global BuddyPress settings object37 * @global BuddyPress $bp The one true BuddyPress instance 38 38 */ 39 39 function bp_core_define_slugs() { … … 382 382 * 383 383 * @package BuddyPress Core 384 * @global object $bp Global BuddyPress settings object384 * @global BuddyPress $bp The one true BuddyPress instance 385 385 * @uses wp_cache_get() Will try and fetch the value from the cache, rather than querying the DB again. 386 386 * @uses get_userdata() Fetches the WP userdata for a specific user. -
trunk/bp-members/bp-members-template.php
r5922 r5926 693 693 * @todo Move to a back-compat file? 694 694 * @deprecated Does not seem to be called anywhere in the core 695 * @global object $bp Global BuddyPress settings object695 * @global BuddyPress $bp The one true BuddyPress instance 696 696 */ 697 697 function bp_get_loggedin_user_nav() { … … 739 739 * 740 740 * @package BuddyPress Core 741 * @global object $bp Global BuddyPress settings object741 * @global BuddyPress $bp The one true BuddyPress instance 742 742 */ 743 743 function bp_get_displayed_user_nav() { -
trunk/bp-themes/bp-default/functions.php
r5876 r5926 58 58 * functions.php file. 59 59 * 60 * @global object $bp Global BuddyPress settings object60 * @global BuddyPress $bp The one true BuddyPress instance 61 61 * @since 1.5 62 62 */ -
trunk/bp-xprofile/bp-xprofile-activity.php
r5699 r5926 79 79 * @package BuddyPress XProfile 80 80 * @param $args Array containing all variables used after extract() call 81 * @global object $bp Global BuddyPress settings object81 * @global BuddyPress $bp The one true BuddyPress instance 82 82 * @uses bp_activity_delete() Deletes an entry to the activity component tables for a specific activity 83 83 */ … … 113 113 * 114 114 * @package BuddyPress XProfile 115 * @global object $bp Global BuddyPress settings object115 * @global BuddyPress $bp The one true BuddyPress instance 116 116 * @uses bp_activity_add() Adds an entry to the activity component tables for a specific activity 117 117 */ -
trunk/bp-xprofile/bp-xprofile-classes.php
r5837 r5926 97 97 * 98 98 * @global $wpdb WordPress DB access object. 99 * @global object $bp Global BuddyPress settings object99 * @global BuddyPress $bp The one true BuddyPress instance 100 100 * 101 101 * @param array $args Takes an array of parameters: -
trunk/bp-xprofile/bp-xprofile-functions.php
r5821 r5926 192 192 * @param $user_id The ID of the user 193 193 * @param $value The value for the field you want to set for the user. 194 * @global object $bp Global BuddyPress settings object194 * @global BuddyPress $bp The one true BuddyPress instance 195 195 * @uses xprofile_get_field_id_from_name() Gets the ID for the field based on the name. 196 196 * @return true on success, false on failure. … … 329 329 * @param $user_id User ID of the user to get random data for 330 330 * @param $exclude_fullname whether or not to exclude the full name field as random data. 331 * @global object $bp Global BuddyPress settings object331 * @global BuddyPress $bp The one true BuddyPress instance 332 332 * @global $wpdb WordPress DB access object. 333 333 * @global $current_user WordPress global variable containing current logged in user information
Note: See TracChangeset
for help on using the changeset viewer.