Changeset 4400
- Timestamp:
- 05/20/2011 07:33:20 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-template.php
r4378 r4400 208 208 * Based on the $args passed, bp_has_activities() populates the $activities_template global. 209 209 * 210 * @package BuddyPress Activity 211 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals() 212 * 210 * @global BP_Activity_Template $activities_template 211 * @global object $bp Global BuddyPress settings object 213 212 * @param mixed $args Arguments for limiting the contents of the activity loop. Can be passed as an associative array or as a URL argument string 214 213 * @return bool Returns true when activities are found 215 214 */ 216 215 function bp_has_activities( $args = '' ) { 217 global $ bp, $activities_template;216 global $activities_template, $bp; 218 217 219 218 /*** -
trunk/bp-core/admin/bp-core-update.php
r4391 r4400 1173 1173 * 1174 1174 * @package BuddyPress Core 1175 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()1175 * @global object $bp Global BuddyPress settings object 1176 1176 * @global $wpdb WordPress DB access object. 1177 1177 * @uses add_submenu_page() WP function to add a submenu item -
trunk/bp-core/bp-core-avatars.php
r4387 r4400 55 55 * default, but can be extended to include your own custom components too. 56 56 * 57 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()57 * @global object $bp Global BuddyPress settings object 58 58 * @global $current_blog WordPress global containing information and settings for the current blog being viewed. 59 59 * @param array $args Determine the output of this function -
trunk/bp-core/bp-core-buddybar.php
r4240 r4400 5 5 * 6 6 * @package BuddyPress Core 7 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()7 * @global object $bp Global BuddyPress settings object 8 8 */ 9 9 function bp_core_new_nav_item( $args = '' ) { … … 87 87 * 88 88 * @package BuddyPress Core 89 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()89 * @global object $bp Global BuddyPress settings object 90 90 */ 91 91 function bp_core_new_nav_default( $args = '' ) { … … 126 126 * 127 127 * @package BuddyPress Core 128 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()128 * @global object $bp Global BuddyPress settings object 129 129 */ 130 130 function bp_core_sort_nav_items() { … … 157 157 * 158 158 * @package BuddyPress Core 159 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()159 * @global object $bp Global BuddyPress settings object 160 160 */ 161 161 function bp_core_new_subnav_item( $args = '' ) { … … 306 306 * @package BuddyPress Core 307 307 * @param $parent_id The id of the parent navigation item. 308 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()308 * @global object $bp Global BuddyPress settings object 309 309 */ 310 310 function bp_core_reset_subnav_items( $parent_slug ) { -
trunk/bp-core/bp-core-functions.php
r4378 r4400 178 178 * 179 179 * @package BuddyPress Core 180 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()180 * @global object $bp Global BuddyPress settings object 181 181 * @uses is_super_admin() returns true if the current user is a site admin, false if not 182 182 * @uses add_submenu_page() WP function to add a submenu item … … 214 214 * @since 1.3 215 215 * 216 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()216 * @global object $bp Global BuddyPress settings object 217 217 * @uses is_super_admin() to check current user permissions before showing the notices 218 218 * @uses bp_is_root_blog() … … 253 253 * @since 1.3 254 254 * 255 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()255 * @global object $bp Global BuddyPress settings object 256 256 * @param string $notice The notice you are adding to the queue 257 257 */ … … 506 506 * 507 507 * @package BuddyPress Core 508 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()508 * @global object $bp Global BuddyPress settings object 509 509 */ 510 510 function bp_core_render_message() { … … 753 753 * 754 754 * @package BuddyPress Core 755 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()755 * @global object $bp Global BuddyPress settings object 756 756 * @param string $slug The slug to redirect to for searching. 757 757 */ -
trunk/bp-core/bp-core-template.php
r4356 r4400 12 12 * 13 13 * @package BuddyPress Core 14 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()14 * @global object $bp Global BuddyPress settings object 15 15 * @uses bp_get_user_nav() Renders the navigation for a profile of a currently viewed user. 16 16 */ … … 69 69 * 70 70 * @package BuddyPress Core 71 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()71 * @global object $bp Global BuddyPress settings object 72 72 */ 73 73 function bp_has_options_avatar() { … … 637 637 * @since 1.3 638 638 * 639 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()639 * @global object $bp Global BuddyPress settings object 640 640 * @param string $component Optional. Defaults to the current component 641 641 * @return string $root_slug The root slug … … 670 670 * 671 671 * @since BuddyPress {r3923} 672 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()672 * @global object $bp Global BuddyPress settings object 673 673 * @param str $root_slug Needle to our active component haystack 674 674 * @return mixed False if none found, component name if found … … 845 845 * page in wp-admin's Settings > Reading screen. 846 846 * 847 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()847 * @global object $bp Global BuddyPress settings object 848 848 * @global $current_blog WordPress global for the current blog 849 849 * @param string $component Optional; Name of the component to check for. -
trunk/bp-forums/bp-forums-functions.php
r4148 r4400 15 15 * by the site admin. 16 16 * 17 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()17 * @global object $bp Global BuddyPress settings object 18 18 * @return bool True if forum is disabled 19 19 * @since 1.3 -
trunk/bp-members/bp-members-actions.php
r4397 r4400 13 13 * 14 14 * @package BuddyPress Core 15 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()15 * @global object $bp Global BuddyPress settings object 16 16 * @uses wp_enqueue_script() Loads a JS script into the header of the page. 17 17 * @uses bp_core_load_template() Loads a specific template file. … … 23 23 * 24 24 * @package BuddyPress Core 25 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()25 * @global object $bp Global BuddyPress settings object 26 26 */ 27 27 function bp_members_action_set_spammer_status() { … … 87 87 * 88 88 * @package BuddyPress Core 89 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()89 * @global object $bp Global BuddyPress settings object 90 90 */ 91 91 function bp_members_action_delete_user() { -
trunk/bp-members/bp-members-functions.php
r4386 r4400 19 19 * 20 20 * @package BuddyPress Core Core 21 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()21 * @global object $bp Global BuddyPress settings object 22 22 */ 23 23 function bp_core_define_slugs() { … … 376 376 * 377 377 * @package BuddyPress Core 378 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()378 * @global object $bp Global BuddyPress settings object 379 379 * @uses wp_cache_get() Will try and fetch the value from the cache, rather than querying the DB again. 380 380 * @uses get_userdata() Fetches the WP userdata for a specific user. … … 513 513 * 514 514 * @package BuddyPress Core 515 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()515 * @global object $bp Global BuddyPress settings object 516 516 * @global $wpdb WordPress user data for the current logged in user. 517 517 * @return array of post ids. … … 530 530 * 531 531 * @package BuddyPress Core 532 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()532 * @global object $bp Global BuddyPress settings object 533 533 * @uses is_super_admin() Checks to see if the user is a site administrator. 534 534 * @uses wpmu_delete_user() Deletes a user from the system on multisite installs. -
trunk/bp-members/bp-members-template.php
r4372 r4400 620 620 * @todo Move to a back-compat file? 621 621 * @deprecated Does not seem to be called anywhere in the core 622 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()622 * @global object $bp Global BuddyPress settings object 623 623 */ 624 624 function bp_get_loggedin_user_nav() { … … 662 662 * 663 663 * @package BuddyPress Core 664 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()664 * @global object $bp Global BuddyPress settings object 665 665 */ 666 666 function bp_get_displayed_user_nav() { -
trunk/bp-themes/bp-default/_inc/ajax.php
r4372 r4400 598 598 * AJAX handler for autocomplete. Displays friends only, unless BP_MESSAGES_AUTOCOMPLETE_ALL is defined 599 599 * 600 * @global object $bp The global BuddyPress settings variable created in bp_core_setup_globals()600 * @global object object $bp Global BuddyPress settings object 601 601 * @return none 602 602 */ -
trunk/bp-themes/bp-default/functions.php
r4328 r4400 55 55 * functions.php file. 56 56 * 57 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()57 * @global object $bp Global BuddyPress settings object 58 58 * @since 1.3 59 59 */ … … 133 133 * Enqueue theme javascript safely 134 134 * 135 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()135 * @global object $bp Global BuddyPress settings object 136 136 * @see http://codex.wordpress.org/Function_Reference/wp_enqueue_script 137 137 * @since 1.3 … … 529 529 * Used when the custom menus haven't been configured. 530 530 * 531 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()531 * @global object $bp Global BuddyPress settings object 532 532 * @param array Menu arguments from wp_nav_menu() 533 533 * @see wp_nav_menu() -
trunk/bp-xprofile/bp-xprofile-actions.php
r4046 r4400 14 14 * 15 15 * @package BuddyPress Xprofile 16 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()16 * @global object $bp Global BuddyPress settings object 17 17 * @uses bp_core_delete_avatar() Deletes the active avatar for the logged in user. 18 18 * @uses add_action() Runs a specific function for an action when it fires. -
trunk/bp-xprofile/bp-xprofile-activity.php
r4288 r4400 30 30 * @package BuddyPress XProfile 31 31 * @param $args Array containing all variables used after extract() call 32 * @global $bp The global BuddyPress settings variable created in bp_core_ setup_globals()32 * @global $bp The global BuddyPress settings variable created in bp_core_current_times() 33 33 * @uses bp_activity_record() Adds an entry to the activity component tables for a specific activity 34 34 */ … … 75 75 * @package BuddyPress XProfile 76 76 * @param $args Array containing all variables used after extract() call 77 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()77 * @global object $bp Global BuddyPress settings object 78 78 * @uses bp_activity_delete() Deletes an entry to the activity component tables for a specific activity 79 79 */ … … 108 108 * 109 109 * @package BuddyPress XProfile 110 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()110 * @global object $bp Global BuddyPress settings object 111 111 * @uses bp_activity_add() Adds an entry to the activity component tables for a specific activity 112 112 */ -
trunk/bp-xprofile/bp-xprofile-buddybar.php
r4045 r4400 6 6 * 7 7 * @package BuddyPress XProfile 8 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()8 * @global object $bp Global BuddyPress settings object 9 9 * @global $wpdb WordPress DB access object. 10 10 * @uses is_super_admin() returns true if the current user is a site admin, false if not -
trunk/bp-xprofile/bp-xprofile-classes.php
r4398 r4400 92 92 * 93 93 * @global $wpdb WordPress DB access object. 94 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()94 * @global object $bp Global BuddyPress settings object 95 95 * 96 96 * @param array $args Takes an array of parameters: -
trunk/bp-xprofile/bp-xprofile-functions.php
r4398 r4400 145 145 * @param mixed $field The ID of the field, or the $name of the field. 146 146 * @param int $user_id The ID of the user 147 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()147 * @global object $bp Global BuddyPress settings object 148 148 * @uses BP_XProfile_ProfileData::get_value_byid() Fetches the value based on the params passed. 149 149 * @return mixed The profile field data. … … 187 187 * @param $user_id The ID of the user 188 188 * @param $value The value for the field you want to set for the user. 189 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()189 * @global object $bp Global BuddyPress settings object 190 190 * @uses xprofile_get_field_id_from_name() Gets the ID for the field based on the name. 191 191 * @return true on success, false on failure. … … 283 283 * @param $user_id User ID of the user to get random data for 284 284 * @param $exclude_fullname whether or not to exclude the full name field as random data. 285 * @global $bp The global BuddyPress settings variable created in bp_core_setup_globals()285 * @global object $bp Global BuddyPress settings object 286 286 * @global $wpdb WordPress DB access object. 287 287 * @global $current_user WordPress global variable containing current logged in user information
Note: See TracChangeset
for help on using the changeset viewer.