Changeset 10825
- Timestamp:
- 05/29/2016 06:12:08 PM (8 years ago)
- Location:
- trunk/src
- Files:
-
- 65 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-actions.php
r10551 r10825 18 18 * @since 1.2.0 19 19 * 20 * @uses do_action() To call 'bp_register_activity_actions' hook.21 20 */ 22 21 function bp_register_activity_actions() { … … 35 34 * 36 35 * @since 1.2.0 37 *38 * @uses bp_is_activity_component()39 * @uses bp_is_current_action()40 * @uses bp_action_variable()41 * @uses bp_activity_get_specific()42 * @uses bp_is_active()43 * @uses bp_core_get_user_domain()44 * @uses groups_get_group()45 * @uses bp_get_group_permalink()46 * @uses apply_filters_ref_array() To call the 'bp_activity_permalink_redirect_url' hook.47 * @uses bp_core_redirect()48 * @uses bp_get_root_domain()49 36 * 50 37 * @return bool False on failure. … … 123 110 * @since 1.1.0 124 111 * 125 * @uses bp_is_activity_component()126 * @uses bp_is_current_action()127 * @uses bp_action_variable()128 * @uses check_admin_referer()129 * @uses bp_activity_user_can_delete()130 * @uses do_action() Calls 'bp_activity_before_action_delete_activity' hook to allow actions to be taken before the activity is deleted.131 * @uses bp_activity_delete()132 * @uses bp_core_add_message()133 * @uses do_action() Calls 'bp_activity_action_delete_activity' hook to allow actions to be taken after the activity is deleted.134 * @uses bp_core_redirect()135 *136 112 * @param int $activity_id Activity id to be deleted. Defaults to 0. 137 113 * @return bool False on failure. … … 267 243 * 268 244 * @since 1.2.0 269 *270 * @uses is_user_logged_in()271 * @uses bp_is_activity_component()272 * @uses bp_is_current_action()273 * @uses check_admin_referer()274 * @uses apply_filters() To call 'bp_activity_post_update_content' hook.275 * @uses apply_filters() To call 'bp_activity_post_update_object' hook.276 * @uses apply_filters() To call 'bp_activity_post_update_item_id' hook.277 * @uses bp_core_add_message()278 * @uses bp_core_redirect()279 * @uses bp_activity_post_update()280 * @uses groups_post_update()281 * @uses bp_core_redirect()282 * @uses apply_filters() To call 'bp_activity_custom_update' hook.283 245 * 284 246 * @return bool False on failure. … … 372 334 * @since 1.2.0 373 335 * 374 * @uses is_user_logged_in()375 * @uses bp_is_activity_component()376 * @uses bp_is_current_action()377 * @uses check_admin_referer()378 * @uses apply_filters() To call 'bp_activity_post_comment_activity_id' hook.379 * @uses apply_filters() To call 'bp_activity_post_comment_content' hook.380 * @uses bp_core_add_message()381 * @uses bp_core_redirect()382 * @uses bp_activity_new_comment()383 * @uses wp_get_referer()384 *385 336 * @return bool False on failure. 386 337 */ … … 436 387 * @since 1.2.0 437 388 * 438 * @uses is_user_logged_in()439 * @uses bp_is_activity_component()440 * @uses bp_is_current_action()441 * @uses check_admin_referer()442 * @uses bp_activity_add_user_favorite()443 * @uses bp_action_variable()444 * @uses bp_core_add_message()445 * @uses bp_core_redirect()446 * @uses wp_get_referer()447 *448 389 * @return bool False on failure. 449 390 */ … … 470 411 * @since 1.2.0 471 412 * 472 * @uses is_user_logged_in()473 * @uses bp_is_activity_component()474 * @uses bp_is_current_action()475 * @uses check_admin_referer()476 * @uses bp_activity_remove_user_favorite()477 * @uses bp_action_variable()478 * @uses bp_core_add_message()479 * @uses bp_core_redirect()480 * @uses wp_get_referer()481 *482 413 * @return bool False on failure. 483 414 */ … … 504 435 * @since 1.0.0 505 436 * 506 * @uses bp_is_activity_component()507 * @uses bp_is_current_action()508 * @uses bp_is_user()509 * @uses status_header()510 *511 437 * @return bool False on failure. 512 438 */ … … 536 462 * @since 1.0.0 537 463 * 538 * @uses bp_is_user_activity()539 * @uses bp_is_current_action()540 * @uses status_header()541 *542 464 * @return bool False on failure. 543 465 */ … … 566 488 * @since 1.0.0 567 489 * 568 * @uses bp_is_active()569 * @uses bp_is_user_activity()570 * @uses bp_is_current_action()571 * @uses bp_get_friends_slug()572 * @uses bp_is_action_variable()573 * @uses status_header()574 *575 490 * @return bool False on failure. 576 491 */ … … 598 513 * 599 514 * @since 1.2.0 600 *601 * @uses bp_is_active()602 * @uses bp_is_user_activity()603 * @uses bp_is_current_action()604 * @uses bp_get_groups_slug()605 * @uses bp_is_action_variable()606 * @uses status_header()607 515 * 608 516 * @return bool False on failure. … … 640 548 * @since 1.2.0 641 549 * 642 * @uses bp_is_user_activity()643 * @uses bp_is_current_action()644 * @uses bp_is_action_variable()645 * @uses status_header()646 *647 550 * @return bool False on failure. 648 551 */ … … 676 579 * 677 580 * @since 1.2.0 678 *679 * @uses bp_is_user_activity()680 * @uses bp_is_current_action()681 * @uses bp_is_action_variable()682 * @uses status_header()683 581 * 684 582 * @return bool False on failure. -
trunk/src/bp-activity/bp-activity-filters.php
r10572 r10825 179 179 * 180 180 * @since 1.1.0 181 *182 * @uses apply_filters() To call the 'bp_activity_allowed_tags' hook.183 * @uses wp_kses()184 181 * 185 182 * @param string $content The activity content. … … 283 280 * @since 1.5.0 284 281 * 285 * @uses bp_activity_find_mentions()286 *287 282 * @param BP_Activity_Activity $activity Activity Object. 288 283 */ … … 319 314 * 320 315 * @since 1.7.0 321 *322 * @uses bp_activity_at_message_notification()323 * @uses bp_activity_update_mention_count_for_user()324 316 * 325 317 * @param BP_Activity_Activity $activity The BP_Activity_Activity object. … … 397 389 * @since 1.5.0 398 390 * 399 * @uses bp_is_single_activity()400 * @uses apply_filters() To call the 'bp_activity_excerpt_append_text' hook.401 * @uses apply_filters() To call the 'bp_activity_excerpt_length' hook.402 * @uses bp_create_excerpt()403 * @uses bp_get_activity_id()404 * @uses bp_get_activity_thread_permalink()405 * @uses apply_filters() To call the 'bp_activity_truncate_entry' hook.406 *407 391 * @param string $text The original activity entry text. 408 392 * @return string $excerpt The truncated text. … … 477 461 * @since 2.0.0 478 462 * 479 * @uses bp_activity_do_heartbeat() to check if heartbeat is required.480 *481 463 * @param array $js_handles The original dependencies. 482 464 * @return array $js_handles The new dependencies. … … 543 525 * 544 526 * @since 2.0.0 545 *546 * @uses bp_activity_get_last_updated() to get the recorded date of the last activity.547 527 * 548 528 * @param array $response Array containing Heartbeat API response. -
trunk/src/bp-activity/bp-activity-functions.php
r10741 r10825 41 41 * @since 1.8.0 42 42 * 43 * @uses apply_filters() To call 'bp_activity_do_mentions' hook.44 *45 43 * @return bool $retval True to enable mentions, false to disable. 46 44 */ … … 134 132 * @since 1.5.0 135 133 * 136 * @uses bp_delete_user_meta()137 *138 134 * @param int $user_id The id of the user whose unread mentions are being reset. 139 135 */ … … 162 158 * @since 1.5.0 163 159 * 164 * @uses bp_activity_find_mentions()165 * @uses bp_activity_update_mention_count_for_user()166 *167 160 * @param int $activity_id The unique id for the activity item. 168 161 * @param string $action Can be 'delete' or 'add'. Defaults to 'add'. … … 200 193 * 201 194 * @since 1.7.0 202 *203 * @uses bp_get_user_meta()204 * @uses bp_update_user_meta()205 195 * 206 196 * @param int $user_id The user ID. … … 788 778 * @since 1.1.0 789 779 * 790 * @uses apply_filters() To call the 'bp_activity_get_action' hook.791 *792 780 * @param string $component_id The unique string ID of the component. 793 781 * @param string $key The action key. … … 859 847 * @since 1.2.0 860 848 * 861 * @uses bp_get_user_meta()862 * @uses apply_filters() To call the 'bp_activity_get_user_favorites' hook.863 *864 849 * @param int $user_id ID of the user whose favorites are being queried. 865 850 * @return array IDs of the user's favorite activity items. … … 889 874 * 890 875 * @since 1.2.0 891 *892 * @uses is_user_logged_in()893 * @uses bp_get_user_meta()894 * @uses bp_activity_get_meta()895 * @uses bp_update_user_meta()896 * @uses bp_activity_update_meta()897 * @uses do_action() To call the 'bp_activity_add_user_favorite' hook.898 * @uses do_action() To call the 'bp_activity_add_user_favorite_fail' hook.899 876 * 900 877 * @param int $activity_id ID of the activity item being favorited. … … 972 949 * @since 1.2.0 973 950 * 974 * @uses is_user_logged_in()975 * @uses bp_get_user_meta()976 * @uses bp_activity_get_meta()977 * @uses bp_activity_update_meta()978 * @uses bp_update_user_meta()979 * @uses do_action() To call the 'bp_activity_remove_user_favorite' hook.980 *981 951 * @param int $activity_id ID of the activity item being unfavorited. 982 952 * @param int $user_id ID of the user unfavoriting the activity item. … … 1051 1021 * @since 1.1.0 1052 1022 * 1053 * @uses BP_Activity_Activity::check_exists_by_content() {@link BP_Activity_Activity}1054 * @uses apply_filters() To call the 'bp_activity_check_exists_by_content' hook.1055 *1056 1023 * @param string $content The content to filter by. 1057 1024 * @return int|null The ID of the located activity item. Null if none is found. … … 1074 1041 * @since 1.0.0 1075 1042 * 1076 * @uses BP_Activity_Activity::get_last_updated() {@link BP_Activity_Activity}1077 * @uses apply_filters() To call the 'bp_activity_get_last_updated' hook.1078 *1079 1043 * @return string Date last updated. 1080 1044 */ … … 1095 1059 * 1096 1060 * @since 1.2.0 1097 *1098 * @uses BP_Activity_Activity::total_favorite_count() {@link BP_Activity_Activity}1099 1061 * 1100 1062 * @param int $user_id ID of the user whose favorite count is being requested. … … 1161 1123 * @since 1.2.0 1162 1124 * 1163 * @uses apply_filters() To call the 'bp_activity_get_meta' hook.1164 *1165 1125 * @param int $activity_id ID of the activity item whose metadata is being requested. 1166 1126 * @param string $meta_key Optional. If present, only the metadata matching … … 1239 1199 * 1240 1200 * @since 1.5.0 1241 *1242 * @uses is_user_logged_in()1243 * @uses bp_activity_delete()1244 * @uses bp_delete_user_meta()1245 * @uses do_action() To call the 'bp_activity_remove_data' hook.1246 * @uses do_action() To call the 'bp_activity_remove_all_user_data' hook.1247 1201 * 1248 1202 * @param int $user_id ID of the user whose activity is being deleted. … … 1672 1626 * @see BP_Activity_Activity::get() For more information on accepted arguments 1673 1627 * and the format of the returned value. 1674 * @uses wp_parse_args()1675 * @uses wp_cache_get()1676 * @uses wp_cache_set()1677 * @uses BP_Activity_Activity::get() {@link BP_Activity_Activity}1678 * @uses apply_filters_ref_array() To call the 'bp_activity_get' hook.1679 1628 * 1680 1629 * @param array|string $args See BP_Activity_Activity::get() for description. … … 1783 1732 * 1784 1733 * @see BP_Activity_Activity::get() For more information on accepted arguments. 1785 * @uses wp_parse_args()1786 * @uses apply_filters() To call the 'bp_activity_get_specific' hook.1787 * @uses BP_Activity_Activity::get() {@link BP_Activity_Activity}1788 1734 * 1789 1735 * @param array|string $args { … … 1837 1783 * 1838 1784 * @since 1.1.0 1839 *1840 * @uses wp_parse_args()1841 * @uses BP_Activity_Activity::save() {@link BP_Activity_Activity}1842 * @uses BP_Activity_Activity::rebuild_activity_comment_tree() {@link BP_Activity_Activity}1843 * @uses wp_cache_delete()1844 * @uses do_action() To call the 'bp_activity_add' hook.1845 1785 * 1846 1786 * @param array|string $args { … … 1950 1890 * @since 1.2.0 1951 1891 * 1952 * @uses wp_parse_args()1953 * @uses bp_is_user_inactive()1954 * @uses bp_core_get_userlink()1955 * @uses bp_activity_add()1956 * @uses apply_filters() To call the 'bp_activity_new_update_action' hook.1957 * @uses apply_filters() To call the 'bp_activity_new_update_content' hook.1958 * @uses apply_filters() To call the 'bp_activity_new_update_primary_link' hook.1959 * @uses bp_update_user_meta()1960 * @uses wp_filter_kses()1961 * @uses do_action() To call the 'bp_activity_posted_update' hook.1962 *1963 1892 * @param array|string $args { 1964 1893 * @type string $content The content of the activity update. … … 2563 2492 * @since 2.5.0 Add a new possible parameter $skip_notification for the array of arguments. 2564 2493 * Add the $primary_link parameter for the array of arguments. 2565 *2566 * @uses wp_parse_args()2567 * @uses bp_activity_add()2568 * @uses apply_filters() To call the 'bp_activity_comment_action' hook.2569 * @uses apply_filters() To call the 'bp_activity_comment_content' hook.2570 * @uses wp_cache_delete()2571 * @uses do_action() To call the 'bp_activity_comment_posted' hook.2572 2494 * 2573 2495 * @param array|string $args { … … 2711 2633 * 2712 2634 * @see BP_Activity_Activity::get() For more information on accepted arguments. 2713 * @uses wp_parse_args()2714 * @uses apply_filters() To call the 'bp_activity_get_activity_id' hook.2715 * @uses BP_Activity_Activity::save() {@link BP_Activity_Activity}2716 2635 * 2717 2636 * @param array|string $args See BP_Activity_Activity::get() for description. … … 2769 2688 * 2770 2689 * @see BP_Activity_Activity::get() For more information on accepted arguments. 2771 * @uses wp_parse_args()2772 * @uses bp_activity_adjust_mention_count()2773 * @uses BP_Activity_Activity::delete() {@link BP_Activity_Activity}2774 * @uses do_action() To call the 'bp_before_activity_delete' hook.2775 * @uses bp_get_user_meta()2776 * @uses bp_delete_user_meta()2777 * @uses do_action() To call the 'bp_activity_delete' hook.2778 * @uses do_action() To call the 'bp_activity_deleted_activities' hook.2779 * @uses wp_cache_delete()2780 2690 * 2781 2691 * @param array|string $args To delete specific activity items, use … … 2863 2773 * @deprecated 1.2.0 2864 2774 * 2865 * @uses wp_parse_args()2866 * @uses bp_activity_delete()2867 2775 * 2868 2776 * @param array|string $args See BP_Activity_Activity::get for a … … 2888 2796 * @since 1.1.0 2889 2797 * 2890 * @uses bp_activity_delete()2891 2798 * 2892 2799 * @param int $activity_id ID of the activity item to be deleted. … … 2905 2812 * @deprecated 1.2.0 2906 2813 * 2907 * @uses bp_activity_delete()2908 2814 * 2909 2815 * @param int $user_id The user id. … … 2930 2836 * @deprecated 1.2.0 2931 2837 * 2932 * @uses bp_activity_delete()2933 2838 * 2934 2839 * @param int $user_id The user id. … … 2948 2853 * @since 1.2.0 2949 2854 * 2950 * @uses apply_filters() To call the 'bp_activity_delete_comment_pre' hook.2951 * @uses bp_activity_delete_children()2952 * @uses bp_activity_delete()2953 * @uses BP_Activity_Activity::rebuild_activity_comment_tree() {@link BP_Activity_Activity}2954 * @uses do_action() To call the 'bp_activity_delete_comment' hook.2955 2855 * @todo Why is an activity id required? We could look this up. 2956 2856 * @todo Why do we encourage users to call this function directly? We could just … … 3018 2918 * @since 1.2.0 3019 2919 * 3020 * @uses BP_Activity_Activity::get_child_comments() {@link BP_Activity_Activity}3021 * @uses bp_activity_delete_children()3022 * @uses bp_activity_delete()3023 2920 * 3024 2921 * @param int $activity_id The ID of the "root" activity, ie the … … 3055 2952 * 3056 2953 * @since 1.2.0 3057 *3058 * @uses bp_get_root_domain()3059 * @uses bp_get_activity_root_slug()3060 * @uses apply_filters_ref_array() To call the 'bp_activity_get_permalink' hook.3061 2954 * 3062 2955 * @param int $activity_id The unique id of the activity object. … … 3111 3004 * @since 1.2.0 3112 3005 * 3113 * @uses BP_Activity_Activity::hide_all_for_user() {@link BP_Activity_Activity}3114 *3115 3006 * @param int $user_id The ID of the user whose activity is being hidden. 3116 3007 * @return bool True on success, false on failure. … … 3133 3024 * 3134 3025 * @since 1.2.0 3135 *3136 * @uses esc_attr()3137 * @uses apply_filters() To call the 'bp_activity_thumbnail_content_images' hook.3138 3026 * 3139 3027 * @param string $content The content of the activity item. … … 3495 3383 * @see bp_embed_activity_save_cache() 3496 3384 * 3497 * @uses add_filter() To attach 'bp_get_activity_id' to 'embed_post_id'.3498 * @uses add_filter() To attach 'bp_embed_activity_cache' to 'bp_embed_get_cache'.3499 * @uses add_action() To attach 'bp_embed_activity_save_cache' to 'bp_embed_update_cache'.3500 3385 */ 3501 3386 function bp_activity_embed() { … … 3520 3405 * @see bp_embed_activity_save_cache() 3521 3406 * 3522 * @uses add_filter() To attach 'bp_get_activity_comment_id' to 'embed_post_id'.3523 * @uses add_filter() To attach 'bp_embed_activity_cache' to 'bp_embed_get_cache'.3524 * @uses add_action() To attach 'bp_embed_activity_save_cache' to 'bp_embed_update_cache'.3525 3407 */ 3526 3408 function bp_activity_comment_embed() { … … 3537 3419 * 3538 3420 * @see BP_Embed 3539 * @uses add_filter() To attach create_function() to 'embed_post_id'.3540 * @uses add_filter() To attach 'bp_embed_activity_cache' to 'bp_embed_get_cache'.3541 * @uses add_action() To attach 'bp_embed_activity_save_cache' to 'bp_embed_update_cache'.3542 3421 * 3543 3422 * @param object $activity The activity that is being expanded. … … 3562 3441 * 3563 3442 * @see bp_activity_comment_embed() 3564 * @uses remove_filter() To remove 'bp_get_activity_comment_id' from 'embed_post_id'.3565 3443 */ 3566 3444 function bp_activity_comment_embed_after_recurse() { … … 3577 3455 * 3578 3456 * @see BP_Embed::parse_oembed() 3579 * @uses bp_activity_get_meta()3580 3457 * 3581 3458 * @param string $cache An empty string passed by BP_Embed::parse_oembed() for … … 3597 3474 * 3598 3475 * @see BP_Embed::parse_oembed() 3599 * @uses bp_activity_update_meta()3600 3476 * 3601 3477 * @param string $cache An empty string passed by BP_Embed::parse_oembed() for … … 3613 3489 * @since 2.0.0 3614 3490 * 3615 * @uses bp_is_activity_heartbeat_active() to check if heartbeat setting is on.3616 * @uses bp_is_activity_directory() to check if the current page is the activity3617 3491 * directory. 3618 * @uses bp_is_group_activity() to check if on a single group, the current page3619 3492 * is the group activities. 3620 3493 * -
trunk/src/bp-activity/bp-activity-notifications.php
r10715 r10825 17 17 * 18 18 * @since 1.2.0 19 *20 * @uses bp_notifications_add_notification()21 * @uses bp_get_user_meta()22 * @uses bp_core_get_user_displayname()23 * @uses bp_activity_get_permalink()24 * @uses bp_core_get_user_domain()25 * @uses bp_get_settings_slug()26 * @uses bp_activity_filter_kses()27 * @uses bp_core_get_core_userdata()28 * @uses wp_specialchars_decode()29 * @uses get_blog_option()30 * @uses bp_is_active()31 * @uses bp_is_group()32 * @uses bp_get_current_group_name()33 * @uses apply_filters() To call the 'bp_activity_at_message_notification_to' hook.34 * @uses apply_filters() To call the 'bp_activity_at_message_notification_subject' hook.35 * @uses apply_filters() To call the 'bp_activity_at_message_notification_message' hook.36 * @uses wp_mail()37 * @uses do_action() To call the 'bp_activity_sent_mention_email' hook.38 19 * 39 20 * @param int $activity_id The ID of the activity update. … … 108 89 * @since 1.2.0 109 90 * @since 2.5.0 Updated to use new email APIs. 110 *111 * @uses bp_get_user_meta()112 * @uses bp_core_get_user_displayname()113 * @uses bp_activity_get_permalink()114 * @uses bp_core_get_user_domain()115 * @uses bp_get_settings_slug()116 * @uses bp_activity_filter_kses()117 * @uses bp_core_get_core_userdata()118 * @uses wp_specialchars_decode()119 * @uses get_blog_option()120 * @uses bp_get_root_blog_id()121 * @uses apply_filters() To call the 'bp_activity_new_comment_notification_to' hook.122 * @uses apply_filters() To call the 'bp_activity_new_comment_notification_subject' hook.123 * @uses apply_filters() To call the 'bp_activity_new_comment_notification_message' hook.124 * @uses wp_mail()125 * @uses do_action() To call the 'bp_activity_sent_reply_to_update_email' hook.126 * @uses apply_filters() To call the 'bp_activity_new_comment_notification_comment_author_to' hook.127 * @uses apply_filters() To call the 'bp_activity_new_comment_notification_comment_author_subject' hook.128 * @uses apply_filters() To call the 'bp_activity_new_comment_notification_comment_author_message' hook.129 * @uses do_action() To call the 'bp_activity_sent_reply_to_reply_email' hook.130 91 * 131 92 * @param int $comment_id The comment id. … … 243 204 * @since 1.5.0 244 205 * 245 * @uses bp_loggedin_user_domain()246 * @uses bp_get_activity_slug()247 * @uses bp_core_get_user_displayname()248 * @uses apply_filters() To call the 'bp_activity_multiple_at_mentions_notification' hook.249 * @uses apply_filters() To call the 'bp_activity_single_at_mentions_notification' hook.250 * @uses do_action() To call 'activity_format_notifications' hook.251 *252 206 * @param string $action The type of activity item. Just 'new_at_mention' for now. 253 207 * @param int $item_id The activity ID. … … 454 408 * 455 409 * @param int $user_id The id of the user whose notifications are marked as read. 456 * @uses bp_notifications_mark_all_notifications_by_type()457 410 */ 458 411 function bp_activity_remove_screen_notifications( $user_id = 0 ) { -
trunk/src/bp-activity/bp-activity-screens.php
r10652 r10825 24 24 * @since 1.5.0 25 25 * 26 * @uses bp_displayed_user_id()27 * @uses bp_is_activity_component()28 * @uses bp_current_action()29 * @uses bp_update_is_directory()30 * @uses do_action() To call the 'bp_activity_screen_index' hook.31 * @uses bp_core_load_template()32 * @uses apply_filters() To call the 'bp_activity_screen_index' hook.33 26 */ 34 27 function bp_activity_screen_index() { … … 60 53 * @since 1.0.0 61 54 * 62 * @uses do_action() To call the 'bp_activity_screen_my_activity' hook.63 * @uses bp_core_load_template()64 * @uses apply_filters() To call the 'bp_activity_template_my_activity' hook.65 55 */ 66 56 function bp_activity_screen_my_activity() { … … 88 78 * @since 1.0.0 89 79 * 90 * @uses bp_is_active()91 * @uses bp_update_is_item_admin()92 * @uses bp_current_user_can()93 * @uses do_action() To call the 'bp_activity_screen_friends' hook.94 * @uses bp_core_load_template()95 * @uses apply_filters() To call the 'bp_activity_template_friends_activity' hook.96 80 */ 97 81 function bp_activity_screen_friends() { … … 123 107 * @since 1.2.0 124 108 * 125 * @uses bp_is_active()126 * @uses bp_update_is_item_admin()127 * @uses bp_current_user_can()128 * @uses do_action() To call the 'bp_activity_screen_groups' hook.129 * @uses bp_core_load_template()130 * @uses apply_filters() To call the 'bp_activity_template_groups_activity' hook.131 109 */ 132 110 function bp_activity_screen_groups() { … … 158 136 * @since 1.2.0 159 137 * 160 * @uses bp_update_is_item_admin()161 * @uses bp_current_user_can()162 * @uses do_action() To call the 'bp_activity_screen_favorites' hook.163 * @uses bp_core_load_template()164 * @uses apply_filters() To call the 'bp_activity_template_favorite_activity' hook.165 138 */ 166 139 function bp_activity_screen_favorites() { … … 189 162 * @since 1.2.0 190 163 * 191 * @uses bp_update_is_item_admin()192 * @uses bp_current_user_can()193 * @uses do_action() To call the 'bp_activity_screen_mentions' hook.194 * @uses bp_core_load_template()195 * @uses apply_filters() To call the 'bp_activity_template_mention_activity' hook.196 164 */ 197 165 function bp_activity_screen_mentions() { … … 220 188 * @since 1.5.0 221 189 * 222 * @uses bp_is_my_profile()223 * @uses bp_activity_clear_new_mentions()224 * @uses bp_loggedin_user_id()225 190 */ 226 191 function bp_activity_reset_my_new_mentions() { … … 235 200 * @since 1.2.0 236 201 * 237 * @uses bp_is_activity_component()238 * @uses bp_activity_get_specific()239 * @uses bp_current_action()240 * @uses bp_action_variables()241 * @uses bp_do_404()242 * @uses bp_is_active()243 * @uses groups_get_group()244 * @uses groups_is_user_member()245 * @uses apply_filters_ref_array() To call the 'bp_activity_permalink_access' hook.246 * @uses do_action() To call the 'bp_activity_screen_single_activity_permalink' hook.247 * @uses bp_core_add_message()248 * @uses is_user_logged_in()249 * @uses bp_core_redirect()250 * @uses site_url()251 * @uses esc_url()252 * @uses bp_get_root_domain()253 * @uses bp_get_activity_root_slug()254 * @uses bp_core_load_template()255 * @uses apply_filters() To call the 'bp_activity_template_profile_activity_permalink' hook.256 202 */ 257 203 function bp_activity_screen_single_activity_permalink() { … … 359 305 * @since 1.2.0 360 306 * 361 * @uses bp_get_user_meta()362 * @uses bp_core_get_username()363 * @uses do_action() To call the 'bp_activity_screen_notification_settings' hook.364 307 */ 365 308 function bp_activity_screen_notification_settings() { -
trunk/src/bp-activity/bp-activity-template.php
r10824 r10825 20 20 * @since 1.5.0 21 21 * 22 * @uses bp_get_activity_slug()23 22 */ 24 23 function bp_activity_slug() { … … 30 29 * @since 1.5.0 31 30 * 32 * @uses apply_filters() To call the 'bp_get_activity_slug' hook.33 31 * 34 32 * @return string The activity component slug. … … 51 49 * @since 1.5.0 52 50 * 53 * @uses bp_get_activity_root_slug()54 51 */ 55 52 function bp_activity_root_slug() { … … 61 58 * @since 1.5.0 62 59 * 63 * @uses apply_filters() To call the 'bp_get_activity_root_slug' hook.64 60 * 65 61 * @return string The activity component root slug. … … 82 78 * @since 1.5.0 83 79 * 84 * @uses bp_get_activity_directory_permalink()85 80 */ 86 81 function bp_activity_directory_permalink() { … … 92 87 * @since 1.5.0 93 88 * 94 * @uses trailingslashit()95 * @uses bp_get_root_domain()96 * @uses bp_get_activity_root_slug()97 * @uses apply_filters() To call the 'bp_get_activity_directory_permalink' hook.98 89 * 99 90 * @return string Activity directory permalink. … … 122 113 * 123 114 * @global object $activities_template {@link BP_Activity_Template} 124 * @uses groups_is_user_member()125 * @uses bp_current_action()126 * @uses bp_is_current_action()127 * @uses bp_get_activity_slug()128 * @uses bp_action_variable()129 * @uses wp_parse_args()130 * @uses bp_is_active()131 * @uses friends_get_friend_user_ids()132 * @uses groups_get_user_groups()133 * @uses bp_activity_get_user_favorites()134 * @uses apply_filters() To call the 'bp_has_activities' hook.135 115 * 136 116 * @param array|string $args { … … 391 371 * 392 372 * @global object $activities_template {@link BP_Activity_Template} 393 * @uses BP_Activity_Template::user_activities() {@link BP_Activity_Template::user_activities()}394 373 * 395 374 * @return bool Returns true when activities are found. … … 406 385 * 407 386 * @global object $activities_template {@link BP_Activity_Template} 408 * @uses BP_Activity_Template::the_activity() {@link BP_Activity_Template::the_activity()}409 387 * 410 388 * @return object The current activity within the loop. … … 454 432 * 455 433 * @global object $activities_template {@link BP_Activity_Template} 456 * @uses BP_Activity_Template::the_activity() {@link BP_Activity_Template::the_activity()}457 434 */ 458 435 function bp_activity_pagination_count() { … … 466 443 * 467 444 * @global object $activities_template {@link BP_Activity_Template} 468 * @uses bp_core_number_format()469 445 * 470 446 * @return string The pagination text. … … 492 468 * @since 1.0.0 493 469 * 494 * @uses bp_get_activity_pagination_links()495 470 */ 496 471 function bp_activity_pagination_links() { … … 504 479 * 505 480 * @global object $activities_template {@link BP_Activity_Template} 506 * @uses apply_filters() To call the 'bp_get_activity_pagination_links' hook.507 481 * 508 482 * @return string The pagination links. … … 527 501 * 528 502 * @global object $activities_template {@link BP_Activity_Template} 529 * @uses apply_filters() To call the 'bp_activity_has_more_items' hook.530 503 * 531 504 * @return bool $has_more_items True if more items, false if not. … … 561 534 * @since 1.2.0 562 535 * 563 * @uses bp_get_activity_count()564 536 */ 565 537 function bp_activity_count() { … … 573 545 * 574 546 * @global object $activities_template {@link BP_Activity_Template} 575 * @uses apply_filters() To call the 'bp_get_activity_count' hook.576 547 * 577 548 * @return int The activity count. … … 595 566 * @since 1.2.0 596 567 * 597 * @uses bp_get_activity_per_page()598 568 */ 599 569 function bp_activity_per_page() { … … 607 577 * 608 578 * @global object $activities_template {@link BP_Activity_Template} 609 * @uses apply_filters() To call the 'bp_get_activity_per_page' hook.610 579 * 611 580 * @return int The activities per page. … … 629 598 * @since 1.0.0 630 599 * 631 * @uses bp_get_activities_title()632 600 * @todo Deprecate. 633 601 */ … … 642 610 * 643 611 * @global string $bp_activity_title 644 * @uses apply_filters() To call the 'bp_get_activities_title' hook.645 612 * @todo Deprecate. 646 613 * … … 665 632 * @since 1.0.0 666 633 * 667 * @uses bp_get_activities_no_activity()668 634 * @todo Deprecate. 669 635 */ … … 678 644 * 679 645 * @global string $bp_activity_no_activity 680 * @uses apply_filters() To call the 'bp_get_activities_no_activity' hook.681 646 * @todo Deprecate. 682 647 * … … 701 666 * @since 1.2.0 702 667 * 703 * @uses bp_get_activity_id()704 668 */ 705 669 function bp_activity_id() { … … 713 677 * 714 678 * @global object $activities_template {@link BP_Activity_Template} 715 * @uses apply_filters() To call the 'bp_get_activity_id' hook.716 679 * 717 680 * @return int The activity ID. … … 735 698 * @since 1.2.0 736 699 * 737 * @uses bp_get_activity_item_id()738 700 */ 739 701 function bp_activity_item_id() { … … 747 709 * 748 710 * @global object $activities_template {@link BP_Activity_Template} 749 * @uses apply_filters() To call the 'bp_get_activity_item_id' hook.750 711 * 751 712 * @return int The activity item ID. … … 769 730 * @since 1.2.0 770 731 * 771 * @uses bp_get_activity_secondary_item_id()772 732 */ 773 733 function bp_activity_secondary_item_id() { … … 781 741 * 782 742 * @global object $activities_template {@link BP_Activity_Template} 783 * @uses apply_filters() To call the 'bp_get_activity_secondary_item_id' hook.784 743 * 785 744 * @return int The activity secondary item ID. … … 803 762 * @since 1.2.0 804 763 * 805 * @uses bp_get_activity_date_recorded()806 764 */ 807 765 function bp_activity_date_recorded() { … … 815 773 * 816 774 * @global object $activities_template {@link BP_Activity_Template} 817 * @uses apply_filters() To call the 'bp_get_activity_date_recorded' hook.818 775 * 819 776 * @return string The date the activity was recorded. … … 837 794 * @since 2.1.0 838 795 * 839 * @uses bp_get_activity_member_display_name()840 796 */ 841 797 function bp_activity_member_display_name() { … … 849 805 * 850 806 * @global object $activities_template {@link BP_Activity_Template} 851 * @uses apply_filters() To call the 'bp_get_activity_member_display_name' hook.852 807 * 853 808 * @return string The date the activity was recorded. … … 875 830 * @since 1.2.0 876 831 * 877 * @uses bp_get_activity_object_name()878 832 */ 879 833 function bp_activity_object_name() { … … 887 841 * 888 842 * @global object $activities_template {@link BP_Activity_Template} 889 * @uses apply_filters() To call the 'bp_get_activity_object_name' hook.890 843 * 891 844 * @return string The activity object name. … … 909 862 * @since 1.2.0 910 863 * 911 * @uses bp_get_activity_type()912 864 */ 913 865 function bp_activity_type() { … … 921 873 * 922 874 * @global object $activities_template {@link BP_Activity_Template} 923 * @uses apply_filters() To call the 'bp_get_activity_type' hook.924 875 * 925 876 * @return string The activity type. … … 949 900 * remove redundant echo 950 901 * 951 * @uses bp_activity_type()952 902 */ 953 903 function bp_activity_action_name() { echo bp_activity_type(); } … … 963 913 * @todo Properly deprecate in favor of bp_get_activity_type(). 964 914 * 965 * @uses bp_get_activity_type()966 915 * 967 916 * @return string The activity type. … … 974 923 * @since 1.1.0 975 924 * 976 * @uses bp_get_activity_user_id()977 925 */ 978 926 function bp_activity_user_id() { … … 986 934 * 987 935 * @global object $activities_template {@link BP_Activity_Template} 988 * @uses apply_filters() To call the 'bp_get_activity_user_id' hook.989 936 * 990 937 * @return int The activity user ID. … … 1008 955 * @since 1.2.0 1009 956 * 1010 * @uses bp_get_activity_user_link()1011 957 */ 1012 958 function bp_activity_user_link() { … … 1020 966 * 1021 967 * @global object $activities_template {@link BP_Activity_Template} 1022 * @uses bp_core_get_user_domain()1023 * @uses apply_filters() To call the 'bp_get_activity_user_link' hook.1024 968 * 1025 969 * @return string $link The activity user link. … … 1050 994 * 1051 995 * @see bp_get_activity_avatar() for description of arguments. 1052 * @uses bp_get_activity_avatar()1053 996 * 1054 997 * @param array|string $args See {@link bp_get_activity_avatar()} for description. … … 1064 1007 * @see bp_core_fetch_avatar() For a description of the arguments. 1065 1008 * @global object $activities_template {@link BP_Activity_Template} 1066 * @uses bp_is_single_activity()1067 * @uses wp_parse_args()1068 * @uses apply_filters() To call the 'bp_get_activity_avatar_object_' . $current_activity_item->component hook.1069 * @uses apply_filters() To call the 'bp_get_activity_avatar_item_id' hook.1070 * @uses bp_core_fetch_avatar()1071 * @uses apply_filters() To call the 'bp_get_activity_avatar' hook.1072 1009 * 1073 1010 * @param array|string $args { … … 1185 1122 * 1186 1123 * @see bp_get_activity_secondary_avatar() for description of arguments. 1187 * @uses bp_get_activity_secondary_avatar()1188 1124 * 1189 1125 * @param array|string $args See {@link bp_get_activity_secondary_avatar} for description. … … 1200 1136 * @see bp_core_fetch_avatar() for description of arguments. 1201 1137 * @global object $activities_template {@link BP_Activity_Template} 1202 * @uses wp_parse_args()1203 * @uses get_blog_option()1204 * @uses apply_filters() To call the 'bp_get_activity_secondary_avatar_object_' . $activities_template->activity->component hook.1205 * @uses apply_filters() To call the 'bp_get_activity_secondary_avatar_item_id' hook.1206 * @uses bp_core_fetch_avatar()1207 * @uses apply_filters() To call the 'bp_get_activity_secondary_avatar' hook.1208 1138 * 1209 1139 * @param array|string $args { … … 1376 1306 * 1377 1307 * @param array $args See bp_get_activity_action(). 1378 * @uses bp_get_activity_action()1379 1308 */ 1380 1309 function bp_activity_action( $args = array() ) { … … 1388 1317 * 1389 1318 * @global object $activities_template {@link BP_Activity_Template} 1390 * @uses apply_filters_ref_array() To call the 'bp_get_activity_action_pre_meta' hook.1391 * @uses bp_insert_activity_meta()1392 * @uses apply_filters_ref_array() To call the 'bp_get_activity_action' hook.1393 1319 * 1394 1320 * @param array $args { … … 1442 1368 * @since 1.2.0 1443 1369 * 1444 * @uses bp_get_activity_content_body()1445 1370 */ 1446 1371 function bp_activity_content_body() { … … 1454 1379 * 1455 1380 * @global object $activities_template {@link BP_Activity_Template} 1456 * @uses bp_insert_activity_meta()1457 * @uses apply_filters_ref_array() To call the 'bp_get_activity_content_body' hook.1458 1381 * 1459 1382 * @return string The activity content body. … … 1504 1427 * @todo properly deprecate this function. 1505 1428 * 1506 * @uses bp_get_activity_content()1507 1429 */ 1508 1430 function bp_activity_content() { … … 1518 1440 * @todo properly deprecate this function. 1519 1441 * 1520 * @uses bp_get_activity_action()1521 * @uses bp_get_activity_content_body()1522 * @uses apply_filters() To call the 'bp_get_activity_content' hook.1523 1442 * 1524 1443 * @return string The activity content. … … 1545 1464 * 1546 1465 * @global object $activities_template {@link BP_Activity_Template} 1547 * @uses bp_core_time_since()1548 * @uses apply_filters_ref_array() To call the 'bp_activity_time_since' hook.1549 * @uses bp_is_single_activity()1550 * @uses bp_activity_get_permalink()1551 * @uses esc_attr__()1552 * @uses apply_filters_ref_array() To call the 'bp_activity_permalink' hook.1553 * @uses apply_filters() To call the 'bp_insert_activity_meta' hook.1554 1466 * 1555 1467 * @param string $content The activity content. … … 1621 1533 * 1622 1534 * @global object $activities_template {@link BP_Activity_Template} 1623 * @uses apply_filters() To call the 'bp_activity_user_can_delete' hook.1624 1535 * 1625 1536 * @param object|bool $activity Optional. Falls back on the current item in the loop. … … 1680 1591 * 1681 1592 * @see bp_get_activity_parent_content() for a description of arguments. 1682 * @uses bp_get_activity_parent_content()1683 1593 * 1684 1594 * @param array|string $args See {@link bp_get_activity_parent_content} for description. … … 1694 1604 * 1695 1605 * @global object $activities_template {@link BP_Activity_Template} 1696 * @uses apply_filters() To call the 'bp_get_activity_parent_content' hook.1697 1606 * 1698 1607 * @param string $args Unused. Left over from an earlier implementation. … … 1801 1710 * @since 1.2.0 1802 1711 * 1803 * @uses bp_get_activity_is_favorite()1804 1712 */ 1805 1713 function bp_activity_is_favorite() { … … 1813 1721 * 1814 1722 * @global object $activities_template {@link BP_Activity_Template} 1815 * @uses apply_filters() To call the 'bp_get_activity_is_favorite' hook.1816 1723 * 1817 1724 * @return bool True if user favorite, false otherwise. … … 1853 1760 * 1854 1761 * @global object $activities_template {@link BP_Activity_Template} 1855 * @uses bp_activity_recurse_comments()1856 1762 * 1857 1763 * @param string $args Unused. Left over from an earlier implementation. … … 1877 1783 * 1878 1784 * @global object $activities_template {@link BP_Activity_Template} 1879 * @uses locate_template()1880 1785 * 1881 1786 * @param object $comment The activity object currently being recursed. … … 1937 1842 * 1938 1843 * @global object $activities_template {@link BP_Activity_Template} 1939 * @uses apply_filters() To call the 'bp_activity_current_comment' hook.1940 1844 * 1941 1845 * @return object|bool $current_comment The activity comment currently being … … 1965 1869 * @since 1.5.0 1966 1870 * 1967 * @uses bp_get_activity_comment_id()1968 1871 */ 1969 1872 function bp_activity_comment_id() { … … 1977 1880 * 1978 1881 * @global object $activities_template {@link BP_Activity_Template} 1979 * @uses apply_filters() To call the 'bp_activity_comment_id' hook.1980 1882 * 1981 1883 * @return int|bool $comment_id The ID of the activity comment currently … … 2002 1904 * @since 1.5.0 2003 1905 * 2004 * @uses bp_get_activity_comment_user_id()2005 1906 */ 2006 1907 function bp_activity_comment_user_id() { … … 2014 1915 * 2015 1916 * @global object $activities_template {@link BP_Activity_Template} 2016 * @uses apply_filters() To call the 'bp_activity_comment_user_id' hook.2017 1917 * 2018 1918 * @return int|bool $user_id The user_id of the author of the displayed … … 2039 1939 * @since 1.5.0 2040 1940 * 2041 * @uses bp_get_activity_comment_user_link()2042 1941 */ 2043 1942 function bp_activity_comment_user_link() { … … 2050 1949 * @since 1.5.0 2051 1950 * 2052 * @uses bp_core_get_user_domain()2053 * @uses bp_get_activity_comment_user_id()2054 * @uses apply_filters() To call the 'bp_activity_comment_user_link' hook.2055 1951 * 2056 1952 * @return string $user_link The URL of the activity comment author's profile. … … 2074 1970 * @since 1.5.0 2075 1971 * 2076 * @uses bp_get_activity_comment_name()2077 1972 */ 2078 1973 function bp_activity_comment_name() { … … 2089 1984 * 2090 1985 * @global object $activities_template {@link BP_Activity_Template} 2091 * @uses apply_filters() To call the 'bp_acomment_name' hook.2092 * @uses apply_filters() To call the 'bp_activity_comment_name' hook.2093 1986 * 2094 1987 * @return string $name The full name of the activity comment author. … … 2119 2012 * @since 1.5.0 2120 2013 * 2121 * @uses bp_get_activity_comment_date_recorded()2122 2014 */ 2123 2015 function bp_activity_comment_date_recorded() { … … 2130 2022 * @since 1.5.0 2131 2023 * 2132 * @uses bp_core_time_since()2133 * @uses apply_filters() To call the 'bp_activity_comment_date_recorded' hook.2134 2024 * 2135 2025 * @return string|bool $date_recorded Time since the activity was recorded, … … 2153 2043 * @since 2.3.0 2154 2044 * 2155 * @uses bp_get_activity_comment_date_recorded()2156 2045 */ 2157 2046 function bp_activity_comment_date_recorded_raw() { … … 2165 2054 * 2166 2055 * @global object $activities_template {@link BP_Activity_Template} 2167 * @uses bp_core_time_since()2168 * @uses apply_filters() To call the 'bp_activity_comment_date_recorded' hook.2169 2056 * 2170 2057 * @return string|bool $date_recorded Time since the activity was recorded, … … 2189 2076 * @since 1.5.0 2190 2077 * 2191 * @uses bp_get_activity_comment_delete_link()2192 2078 */ 2193 2079 function bp_activity_comment_delete_link() { … … 2200 2086 * @since 1.5.0 2201 2087 * 2202 * @uses wp_nonce_url()2203 * @uses bp_get_root_domain()2204 * @uses bp_get_activity_slug()2205 * @uses bp_get_activity_comment_id()2206 * @uses apply_filters() To call the 'bp_activity_comment_delete_link' hook.2207 2088 * 2208 2089 * @return string $link The nonced URL for deleting the current … … 2227 2108 * @since 1.5.0 2228 2109 * 2229 * @uses bp_get_activity_comment_content()2230 2110 */ 2231 2111 function bp_activity_comment_content() { … … 2244 2124 * 2245 2125 * @global object $activities_template {@link BP_Activity_Template} 2246 * @uses apply_filters() To call the 'bp_get_activity_content' hook.2247 * @uses apply_filters() To call the 'bp_activity_comment_content' hook.2248 2126 * 2249 2127 * @return string $content The content of the current activity comment. … … 2270 2148 * @since 1.2.0 2271 2149 * 2272 * @uses bp_activity_get_comment_count()2273 2150 */ 2274 2151 function bp_activity_comment_count() { … … 2282 2159 * 2283 2160 * @global object $activities_template {@link BP_Activity_Template} 2284 * @uses bp_activity_recurse_comment_count()2285 * @uses apply_filters() To call the 'bp_activity_get_comment_count' hook.2286 2161 * 2287 2162 * @param array|null $deprecated Deprecated. … … 2319 2194 * @since 1.2.0 2320 2195 * 2321 * @uses bp_activity_recurse_comment_count()2322 * @uses apply_filters() To call the 'bp_activity_recurse_comment_count' hook.2323 2196 * 2324 2197 * @param object $comment Activity comment object. … … 2384 2257 * @since 1.2.0 2385 2258 * 2386 * @uses bp_get_activity_comment_link()2387 2259 */ 2388 2260 function bp_activity_comment_link() { … … 2396 2268 * 2397 2269 * @global object $activities_template {@link BP_Activity_Template} 2398 * @uses apply_filters() To call the 'bp_get_activity_comment_link' hook.2399 2270 * 2400 2271 * @return string The activity comment link. … … 2418 2289 * @since 1.2.0 2419 2290 * 2420 * @uses bp_get_activity_comment_form_nojs_display()2421 2291 */ 2422 2292 function bp_activity_comment_form_nojs_display() { … … 2449 2319 * @since 1.2.0 2450 2320 * 2451 * @uses bp_get_activity_comment_form_action()2452 2321 */ 2453 2322 function bp_activity_comment_form_action() { … … 2460 2329 * @since 1.2.0 2461 2330 * 2462 * @uses home_url()2463 * @uses bp_get_activity_root_slug()2464 * @uses apply_filters() To call the 'bp_get_activity_comment_form_action' hook.2465 2331 * 2466 2332 * @return string The activity comment form action. … … 2483 2349 * @since 1.2.0 2484 2350 * 2485 * @uses bp_get_activity_permalink_id()2486 2351 */ 2487 2352 function bp_activity_permalink_id() { … … 2494 2359 * @since 1.2.0 2495 2360 * 2496 * @uses apply_filters() To call the 'bp_get_activity_permalink_id' hook.2497 2361 * 2498 2362 * @return string The activity permalink ID. … … 2515 2379 * @since 1.2.0 2516 2380 * 2517 * @uses bp_get_activity_permalink_id()2518 2381 */ 2519 2382 function bp_activity_thread_permalink() { … … 2526 2389 * @since 1.2.0 2527 2390 * 2528 * @uses bp_activity_get_permalink()2529 * @uses apply_filters() To call the 'bp_get_activity_thread_permalink' hook.2530 2391 * 2531 2392 * @return string $link The activity thread permalink. … … 2551 2412 * @since 1.8.0 2552 2413 * 2553 * @uses bp_get_activity_permalink_id()2554 2414 */ 2555 2415 function bp_activity_comment_permalink() { … … 2561 2421 * @since 1.8.0 2562 2422 * 2563 * @uses bp_activity_get_permalink()2564 * @uses apply_filters() To call the 'bp_get_activity_comment_permalink' hook.2565 2423 * 2566 2424 * @return string $link The activity comment permalink. … … 2598 2456 * @since 1.2.0 2599 2457 * 2600 * @uses bp_get_activity_favorite_link()2601 2458 */ 2602 2459 function bp_activity_favorite_link() { … … 2610 2467 * 2611 2468 * @global object $activities_template {@link BP_Activity_Template} 2612 * @uses wp_nonce_url()2613 * @uses home_url()2614 * @uses bp_get_activity_root_slug()2615 * @uses apply_filters() To call the 'bp_get_activity_favorite_link' hook.2616 2469 * 2617 2470 * @return string The activity favorite link. … … 2635 2488 * @since 1.2.0 2636 2489 * 2637 * @uses bp_get_activity_unfavorite_link()2638 2490 */ 2639 2491 function bp_activity_unfavorite_link() { … … 2647 2499 * 2648 2500 * @global object $activities_template {@link BP_Activity_Template} 2649 * @uses wp_nonce_url()2650 * @uses home_url()2651 * @uses bp_get_activity_root_slug()2652 * @uses apply_filters() To call the 'bp_get_activity_unfavorite_link' hook.2653 2501 * 2654 2502 * @return string The activity unfavorite link. … … 2672 2520 * @since 1.0.0 2673 2521 * 2674 * @uses bp_get_activity_css_class()2675 2522 */ 2676 2523 function bp_activity_css_class() { … … 2684 2531 * 2685 2532 * @global object $activities_template {@link BP_Activity_Template} 2686 * @uses apply_filters() To call the 'bp_activity_mini_activity_types' hook.2687 * @uses bp_activity_get_comment_count()2688 * @uses bp_activity_can_comment()2689 * @uses apply_filters() To call the 'bp_get_activity_css_class' hook.2690 2533 * 2691 2534 * @return string The activity item's CSS class. … … 2735 2578 * @since 1.1.0 2736 2579 * 2737 * @uses bp_get_activity_delete_link()2738 2580 */ 2739 2581 function bp_activity_delete_link() { … … 2747 2589 * 2748 2590 * @global object $activities_template {@link BP_Activity_Template} 2749 * @uses bp_get_root_domain()2750 * @uses bp_get_activity_root_slug()2751 * @uses bp_is_activity_component()2752 * @uses bp_current_action()2753 * @uses wp_get_referer()2754 * @uses wp_nonce_url()2755 * @uses apply_filters() To call the 'bp_get_activity_delete_link' hook.2756 2591 * 2757 2592 * @return string $link Activity delete link. Contains $redirect_to arg … … 2785 2620 * @since 2.1.0 2786 2621 * 2787 * @uses bp_get_activity_delete_link()2788 2622 */ 2789 2623 function bp_activity_delete_url() { … … 2796 2630 * 2797 2631 * @global object $activities_template {@link BP_Activity_Template} 2798 * @uses bp_get_root_domain()2799 * @uses bp_get_activity_root_slug()2800 * @uses bp_is_activity_component()2801 * @uses bp_current_action()2802 * @uses add_query_arg()2803 * @uses wp_get_referer()2804 * @uses wp_nonce_url()2805 * @uses apply_filters() To call the 'bp_get_activity_delete_link' hook.2806 2632 * 2807 2633 * @return string $link Activity delete link. Contains $redirect_to arg … … 2836 2662 * 2837 2663 * @see bp_get_activity_latest_update() for description of parameters. 2838 * @uses bp_get_activity_latest_update()2839 2664 * 2840 2665 * @param int $user_id See {@link bp_get_activity_latest_update()} for description. … … 2849 2674 * @since 1.2.0 2850 2675 * 2851 * @uses bp_is_user_inactive()2852 * @uses bp_core_is_user_deleted()2853 * @uses bp_get_user_meta()2854 * @uses apply_filters() To call the 'bp_get_activity_latest_update_excerpt' hook.2855 * @uses bp_create_excerpt()2856 * @uses bp_get_root_domain()2857 * @uses bp_get_activity_root_slug()2858 * @uses apply_filters() To call the 'bp_get_activity_latest_update' hook.2859 2676 * 2860 2677 * @param int $user_id If empty, will fall back on displayed user. … … 2912 2729 * 2913 2730 * @see bp_get_activity_filter_links() for description of parameters. 2914 * @uses bp_get_activity_filter_links()2915 2731 * 2916 2732 * @param array|bool $args See {@link bp_get_activity_filter_links()} for description. … … 2925 2741 * @since 1.1.0 2926 2742 * 2927 * @uses wp_parse_args()2928 * @uses BP_Activity_Activity::get_recorded_components() {@link BP_Activity_Activity}2929 * @uses esc_attr()2930 * @uses add_query_arg()2931 * @uses remove_query_arg()2932 * @uses apply_filters() To call the 'bp_get_activity_filter_link_href' hook.2933 * @uses apply_filters() To call the 'bp_get_activity_filter_links' hook.2934 2743 * 2935 2744 * @param array|bool $args { … … 3029 2838 * 3030 2839 * @global object $activities_template {@link BP_Activity_Template} 3031 * @uses bp_get_activity_action_name()3032 * @uses apply_filters() To call the 'bp_activity_can_comment' hook.3033 2840 * 3034 2841 * @return bool $can_comment True if item can receive comments. … … 3115 2922 * @since 1.5.0 3116 2923 * 3117 * @uses apply_filters() To call the 'bp_activity_can_favorite' hook.3118 *3119 2924 * @return bool True if comment can receive comments. 3120 2925 */ … … 3137 2942 * 3138 2943 * @see bp_get_total_favorite_count_for_user() for description of parameters. 3139 * @uses bp_get_total_favorite_count_for_user()3140 2944 * 3141 2945 * @param int $user_id See {@link bp_get_total_favorite_count_for_user()}. … … 3150 2954 * @since 1.2.0 3151 2955 * 3152 * @uses bp_activity_total_favorites_for_user()3153 * @uses apply_filters() To call the 'bp_get_total_favorite_count_for_user' hook.3154 2956 * 3155 2957 * @param int $user_id ID of user being queried. Default: displayed user ID. … … 3190 2992 * 3191 2993 * @see bp_get_total_mention_count_for_user() for description of parameters. 3192 * @uses bp_get_total_favorite_count_for_user()3193 2994 * 3194 2995 * @param int $user_id See {@link bp_get_total_mention_count_for_user()}. … … 3203 3004 * @since 1.2.0 3204 3005 * 3205 * @uses bp_get_user_meta()3206 * @uses apply_filters() To call the 'bp_get_total_mention_count_for_user' hook.3207 3006 * 3208 3007 * @param int $user_id ID of user being queried. Default: displayed user ID. … … 3238 3037 * @since 1.2.0 3239 3038 * 3240 * @uses bp_get_send_public_message_link()3241 3039 */ 3242 3040 function bp_send_public_message_link() { … … 3249 3047 * @since 1.2.0 3250 3048 * 3251 * @uses is_user_logged_in()3252 * @uses bp_is_my_profile()3253 * @uses bp_is_user()3254 * @uses wp_nonce_url()3255 * @uses bp_get_activity_directory_permalink()3256 * @uses apply_filters() To call the 'bp_get_send_public_message_link' hook.3257 3049 * 3258 3050 * @return string The public message link for the displayed user. … … 3312 3104 * 3313 3105 * @see bp_get_mentioned_user_display_name() for description of parameters. 3314 * @uses bp_get_mentioned_user_display_name()3315 3106 * 3316 3107 * @param int|string|bool $user_id_or_username See {@link bp_get_mentioned_user_display_name()}. … … 3325 3116 * @since 1.2.0 3326 3117 * 3327 * @uses bp_core_get_user_displayname()3328 * @uses apply_filters() To call the 'bp_get_mentioned_user_display_name' hook.3329 3118 * 3330 3119 * @param int|string|bool $user_id_or_username User ID or username. … … 3358 3147 * 3359 3148 * @see bp_get_send_public_message_button() for description of parameters. 3360 * @uses bp_get_send_public_message_button()3361 3149 * 3362 3150 * @param array|string $args See {@link bp_get_send_public_message_button()}. … … 3371 3159 * @since 1.2.0 3372 3160 * 3373 * @uses bp_get_send_public_message_link()3374 * @uses wp_parse_args()3375 * @uses bp_get_button()3376 * @uses apply_filters() To call the 'bp_get_send_public_message_button' hook.3377 3161 * 3378 3162 * @param array|string $args { … … 3422 3206 * @since 1.2.0 3423 3207 * 3424 * @uses bp_get_activity_post_form_action()3425 3208 */ 3426 3209 function bp_activity_post_form_action() { … … 3433 3216 * @since 1.2.0 3434 3217 * 3435 * @uses home_url()3436 * @uses bp_get_activity_root_slug()3437 * @uses apply_filters() To call the 'bp_get_activity_post_form_action' hook.3438 3218 * 3439 3219 * @return string The activity post form action. … … 3688 3468 * @since 1.0.0 3689 3469 * 3690 * @uses bp_get_sitewide_activity_feed_link()3691 3470 */ 3692 3471 function bp_sitewide_activity_feed_link() { … … 3699 3478 * @since 1.0.0 3700 3479 * 3701 * @uses home_url()3702 * @uses bp_get_activity_root_slug()3703 * @uses apply_filters() To call the 'bp_get_sitewide_activity_feed_link' hook.3704 3480 * 3705 3481 * @return string The sitewide activity feed link. … … 3722 3498 * @since 1.2.0 3723 3499 * 3724 * @uses bp_get_member_activity_feed_link()3725 3500 */ 3726 3501 function bp_member_activity_feed_link() { … … 3736 3511 * @todo properly deprecate in favor of bp_member_activity_feed_link(). 3737 3512 * 3738 * @uses bp_get_member_activity_feed_link()3739 3513 */ 3740 3514 function bp_activities_member_rss_link() { echo bp_get_member_activity_feed_link(); } … … 3745 3519 * @since 1.2.0 3746 3520 * 3747 * @uses bp_is_profile_component()3748 * @uses bp_is_current_action()3749 * @uses bp_displayed_user_domain()3750 * @uses bp_get_activity_slug()3751 * @uses bp_is_active()3752 * @uses bp_get_friends_slug()3753 * @uses bp_get_groups_slug()3754 * @uses apply_filters() To call the 'bp_get_activities_member_rss_link' hook.3755 3521 * 3756 3522 * @return string $link The member activity feed link. … … 3801 3567 * @todo properly deprecate in favor of bp_get_member_activity_feed_link(). 3802 3568 * 3803 * @uses bp_get_member_activity_feed_link()3804 3569 * 3805 3570 * @return string The member activity feed link. … … 3815 3580 * @since 1.0.0 3816 3581 * 3817 * @uses bp_activity_feed_item_guid()3818 3582 */ 3819 3583 function bp_activity_feed_item_guid() { … … 3827 3591 * 3828 3592 * @global object $activities_template {@link BP_Activity_Template} 3829 * @uses apply_filters() To call the 'bp_get_activity_feed_item_guid' hook.3830 3593 * 3831 3594 * @return string The activity feed item guid. … … 3849 3612 * @since 1.0.0 3850 3613 * 3851 * @uses bp_get_activity_feed_item_title()3852 3614 */ 3853 3615 function bp_activity_feed_item_title() { … … 3861 3623 * 3862 3624 * @global object $activities_template {@link BP_Activity_Template} 3863 * @uses ent2ncr()3864 * @uses convert_chars()3865 * @uses bp_create_excerpt()3866 * @uses apply_filters() To call the 'bp_get_activity_feed_item_title' hook.3867 3625 * 3868 3626 * @return string $title The activity feed item title. … … 3903 3661 * @since 1.0.0 3904 3662 * 3905 * @uses bp_get_activity_feed_item_link()3906 3663 */ 3907 3664 function bp_activity_feed_item_link() { … … 3915 3672 * 3916 3673 * @global object $activities_template {@link BP_Activity_Template} 3917 * @uses apply_filters() To call the 'bp_get_activity_feed_item_link' hook.3918 3674 * 3919 3675 * @return string The activity feed item link. … … 3941 3697 * @since 1.0.0 3942 3698 * 3943 * @uses bp_get_activity_feed_item_date()3944 3699 */ 3945 3700 function bp_activity_feed_item_date() { … … 3953 3708 * 3954 3709 * @global object $activities_template {@link BP_Activity_Template} 3955 * @uses apply_filters() To call the 'bp_get_activity_feed_item_date' hook.3956 3710 * 3957 3711 * @return string The activity feed item date. … … 3979 3733 * @since 1.0.0 3980 3734 * 3981 * @uses bp_get_activity_feed_item_description()3982 3735 */ 3983 3736 function bp_activity_feed_item_description() { … … 3991 3744 * 3992 3745 * @global object $activities_template {@link BP_Activity_Template} 3993 * @uses ent2ncr()3994 * @uses convert_chars()3995 * @uses apply_filters() To call the 'bp_get_activity_feed_item_description' hook.3996 3746 * 3997 3747 * @return string The activity feed item description. … … 4025 3775 * @since 1.5.0 4026 3776 * 4027 * @uses bloginfo()4028 * @uses bp_sitewide_activity_feed_link()4029 3777 */ 4030 3778 function bp_activity_sitewide_feed() { … … 4044 3792 * @param string $context The current context. 'activity', 'member', 4045 3793 * 'member_groups', 'group'. 4046 * @uses bp_get_activity_show_filters()4047 3794 */ 4048 3795 function bp_activity_show_filters( $context = '' ) { -
trunk/src/bp-activity/classes/class-bp-activity-component.php
r10722 r10825 133 133 * 134 134 * @see BP_Component::setup_nav() for a description of arguments. 135 * @uses bp_is_active()136 * @uses is_user_logged_in()137 * @uses bp_get_friends_slug()138 * @uses bp_get_groups_slug()139 135 * 140 136 * @param array $main_nav Optional. See BP_Component::setup_nav() for description. … … 242 238 * @see BP_Component::setup_nav() for a description of the $wp_admin_nav 243 239 * parameter array. 244 * @uses is_user_logged_in()245 * @uses trailingslashit()246 * @uses bp_get_total_mention_count_for_user()247 * @uses bp_loggedin_user_id()248 * @uses bp_is_active()249 * @uses bp_get_friends_slug()250 * @uses bp_get_groups_slug()251 240 * 252 241 * @param array $wp_admin_nav See BP_Component::setup_admin_bar() for a … … 345 334 * @since 1.5.0 346 335 * 347 * @uses bp_is_activity_component()348 * @uses bp_is_my_profile()349 * @uses bp_core_fetch_avatar()350 336 */ 351 337 public function setup_title() { -
trunk/src/bp-blogs/bp-blogs-filters.php
r10544 r10825 26 26 * @since 1.6.0 27 27 * 28 * @uses apply_filters() Filter 'bp_blogs_creation_location' to alter the29 28 * returned value. 30 29 * -
trunk/src/bp-blogs/bp-blogs-functions.php
r10815 r10825 241 241 * @since 1.7.0 242 242 * 243 * @uses apply_filters()244 *245 243 * @param int $blog_id ID of the blog being checked. 246 244 * @param int $user_id Optional. ID of the user for whom access is being checked. … … 272 270 * @since 1.7.0 273 271 * 274 * @uses bp_blogs_is_blog_recordable275 * @uses apply_filters()276 *277 272 * @param int $blog_id ID of the blog being checked. 278 273 * @param int $user_id Optional. ID of the user for whom access is being checked. … … 300 295 * 301 296 * @since 1.0.0 302 *303 * @uses BP_Blogs_Blog304 297 * 305 298 * @param int $blog_id ID of the blog being recorded. -
trunk/src/bp-blogs/bp-blogs-template.php
r10785 r10825 20 20 * @since 1.5.0 21 21 * 22 * @uses bp_get_blogs_slug()23 22 */ 24 23 function bp_blogs_slug() { … … 49 48 * @since 1.5.0 50 49 * 51 * @uses bp_get_blogs_root_slug()52 50 */ 53 51 function bp_blogs_root_slug() { … … 78 76 * @since 1.5.0 79 77 * 80 * @uses bp_get_blogs_directory_permalink()81 78 */ 82 79 function bp_blogs_directory_permalink() { … … 88 85 * @since 1.5.0 89 86 * 90 * @uses apply_filters()91 * @uses trailingslashit()92 * @uses bp_get_root_domain()93 * @uses bp_get_blogs_root_slug()94 87 * 95 88 * @return string The URL of the Blogs directory. … … 719 712 * @since 1.7.0 720 713 * 721 * @uses bp_get_blog_latest_post_content()722 714 */ 723 715 function bp_blog_latest_post_content() { … … 1342 1334 * @since 2.2.0 1343 1335 * 1344 * @uses bp_blog_create_nav_item() to output the Create a Site nav item.1345 *1346 1336 * @return string HTML Output 1347 1337 */ … … 1424 1414 * @since 2.0.0 1425 1415 * 1426 * @uses bp_blogs_admin_get_profile_stats() to get the stats.1427 *1428 1416 * @param array|string $args Before|after|user_id. 1429 1417 */ -
trunk/src/bp-core/admin/bp-core-admin-actions.php
r10430 r10825 107 107 * @since 1.7.0 108 108 * 109 * @uses do_action() Calls 'bp_admin_init'.110 109 */ 111 110 function bp_admin_init() { … … 124 123 * @since 1.7.0 125 124 * 126 * @uses do_action() Calls 'bp_admin_menu'.127 125 */ 128 126 function bp_admin_menu() { … … 141 139 * @since 1.7.0 142 140 * 143 * @uses do_action() Calls 'bp_admin_head'.144 141 */ 145 142 function bp_admin_head() { … … 158 155 * @since 1.7.0 159 156 * 160 * @uses do_action() Calls 'bp_admin_notices'.161 157 */ 162 158 function bp_admin_notices() { … … 174 170 * 175 171 * @since 1.7.0 176 *177 * @uses do_action() Calls 'bp_admin_enqueue_scripts'.178 172 * 179 173 * @param string $hook_suffix The current admin page, passed to … … 197 191 * @since 1.7.0 198 192 * 199 * @uses do_action() Calls 'bp_admin_notices'.200 193 */ 201 194 function bp_register_importers() { … … 216 209 * @since 1.7.0 217 210 * 218 * @uses do_action() Calls 'bp_admin_notices'.219 211 */ 220 212 function bp_register_admin_style() { … … 233 225 * @since 1.7.0 234 226 * 235 * @uses do_action() Calls 'bp_register_admin_settings'.236 227 */ 237 228 function bp_register_admin_settings() { -
trunk/src/bp-core/admin/bp-core-admin-components.php
r10739 r10825 16 16 * @since 1.6.0 17 17 * 18 * @uses bp_core_admin_component_options()19 18 */ 20 19 function bp_core_admin_components_settings() { -
trunk/src/bp-core/admin/bp-core-admin-functions.php
r10751 r10825 16 16 * Initializes the wp-admin area "BuddyPress" menus and sub menus. 17 17 * 18 * @uses bp_current_user_can() returns true if the current user is a site admin, false if not.19 18 */ 20 19 function bp_core_admin_menu_init() { … … 124 123 * @since 1.5.0 125 124 * 126 * @uses bp_current_user_can() to check current user permissions before showing the notices.127 * @uses bp_is_root_blog()128 125 */ 129 126 function bp_core_print_admin_notices() { … … 354 351 * @internal Used internally to redirect BuddyPress to the about page on activation. 355 352 * 356 * @uses get_transient() To see if transient to redirect exists.357 * @uses delete_transient() To delete the transient if it exists.358 * @uses is_network_admin() To bail if being network activated.359 * @uses wp_safe_redirect() To redirect.360 * @uses add_query_arg() To help build the URL to redirect to.361 * @uses admin_url() To get the admin URL to index.php.362 353 */ 363 354 function bp_do_activation_redirect() { … … 617 608 * @since 1.7.0 618 609 * 619 * @uses bp_current_user_can() To check users capability on root blog.620 610 */ 621 611 function bp_admin_separator() { … … 652 642 * @since 1.7.0 653 643 * 654 * @uses bp_current_user_can() To check users capability on root blog.655 *656 644 * @param bool $menu_order Menu order. 657 645 * @return bool Always true. … … 671 659 * 672 660 * @since 1.7.0 673 *674 * @uses bp_current_user_can() To check users capability on root blog.675 661 * 676 662 * @param array $menu_order Menu Order. -
trunk/src/bp-core/admin/bp-core-admin-schema.php
r10647 r10825 91 91 * @since 1.0.0 92 92 * 93 * @uses bp_core_set_charset()94 * @uses bp_core_get_table_prefix()95 * @uses dbDelta()96 93 */ 97 94 function bp_core_install_notifications() { … … 135 132 * @since 1.0.0 136 133 * 137 * @uses bp_core_set_charset()138 * @uses bp_core_get_table_prefix()139 * @uses dbDelta()140 134 */ 141 135 function bp_core_install_activity_streams() { … … 188 182 * @since 1.0.0 189 183 * 190 * @uses bp_core_set_charset()191 * @uses bp_core_get_table_prefix()192 * @uses dbDelta()193 184 */ 194 185 function bp_core_install_friends() { … … 216 207 * @since 1.0.0 217 208 * 218 * @uses bp_core_set_charset()219 * @uses bp_core_get_table_prefix()220 * @uses dbDelta()221 209 */ 222 210 function bp_core_install_groups() { … … 276 264 * @since 1.0.0 277 265 * 278 * @uses bp_core_set_charset()279 * @uses bp_core_get_table_prefix()280 * @uses dbDelta()281 266 */ 282 267 function bp_core_install_private_messaging() { … … 336 321 * @since 1.0.0 337 322 * 338 * @uses bp_core_set_charset()339 * @uses bp_core_get_table_prefix()340 * @uses dbDelta()341 323 */ 342 324 function bp_core_install_extended_profiles() { … … 426 408 * @since 1.0.0 427 409 * 428 * @uses bp_core_set_charset()429 * @uses bp_core_get_table_prefix()430 * @uses dbDelta()431 410 */ 432 411 function bp_core_install_blog_tracking() { … … 463 442 * 464 443 * @global $wpdb 465 * @uses wp_get_db_schema() to get WordPress ms_global schema466 444 */ 467 445 function bp_core_install_signups() { -
trunk/src/bp-core/admin/bp-core-admin-settings.php
r10565 r10825 23 23 * @since 1.6.0 24 24 * 25 * @uses bp_form_option() To output the option value.26 25 */ 27 26 function bp_admin_setting_callback_admin_bar() { … … 39 38 * @since 1.6.0 40 39 * 41 * @uses checked() To display the checked attribute.42 40 */ 43 41 function bp_admin_setting_callback_account_deletion() { … … 64 62 * @since 1.6.0 65 63 * 66 * @uses checked() To display the checked attribute.67 64 */ 68 65 function bp_admin_setting_callback_activity_akismet() { … … 133 130 * @since 1.6.0 134 131 * 135 * @uses bp_form_option() To output the option value.136 132 */ 137 133 function bp_admin_setting_callback_profile_sync() { … … 149 145 * @since 1.6.0 150 146 * 151 * @uses checked() To display the checked attribute.152 147 */ 153 148 function bp_admin_setting_callback_avatar_uploads() { … … 186 181 * @since 1.6.0 187 182 * 188 * @uses checked() To display the checked attribute.189 183 */ 190 184 function bp_admin_setting_callback_group_creation() { … … 236 230 * @since 1.6.0 237 231 * 238 * @uses checked() To display the checked attribute.239 * @uses bp_get_option() To get the config location.240 * @uses bp_form_option() To get the sanitized form option.241 232 */ 242 233 function bp_admin_setting_callback_bbpress_configuration() { … … 266 257 * @since 1.6.0 267 258 * 268 * @uses settings_fields() To output the hidden fields for the form.269 * @uses do_settings_sections() To output the settings sections.270 259 */ 271 260 function bp_core_admin_settings() { … … 351 340 * @since 1.6.0 352 341 * 353 * @uses bp_get_bp_form_option()354 *355 342 * @param string $option Form option to echo. 356 343 * @param string $default Form option default. … … 365 352 * @since 1.6.0 366 353 * 367 * @uses bp_get_option()368 * @uses esc_attr()369 * @uses apply_filters()370 354 * 371 355 * @param string $option Form option to return. -
trunk/src/bp-core/admin/bp-core-admin-slugs.php
r10559 r10825 16 16 * @since 1.6.0 17 17 * @todo Use settings API 18 * @uses bp_core_admin_component_options()19 18 */ 20 19 function bp_core_admin_slugs_settings() { -
trunk/src/bp-core/bp-core-admin.php
r10652 r10825 20 20 * @since 1.6.0 21 21 * 22 * @uses BP_Admin23 22 */ 24 23 function bp_admin() { -
trunk/src/bp-core/bp-core-adminbar.php
r10417 r10825 56 56 * 57 57 * @global string $wp_version 58 * @uses bp_get_option()59 * @uses is_user_logged_in()60 * @uses bp_use_wp_admin_bar()61 * @uses show_admin_bar()62 * @uses add_action() To hook 'bp_adminbar_logo' to 'bp_adminbar_logo'.63 * @uses add_action() To hook 'bp_adminbar_login_menu' to 'bp_adminbar_menus'.64 * @uses add_action() To hook 'bp_adminbar_account_menu' to 'bp_adminbar_menus'.65 * @uses add_action() To hook 'bp_adminbar_thisblog_menu' to 'bp_adminbar_menus'.66 * @uses add_action() To hook 'bp_adminbar_random_menu' to 'bp_adminbar_menus'.67 * @uses add_action() To hook 'bp_core_admin_bar' to 'wp_footer'.68 * @uses add_action() To hook 'bp_core_admin_bar' to 'admin_footer'.69 58 */ 70 59 function bp_core_load_admin_bar() { -
trunk/src/bp-core/bp-core-avatars.php
r10757 r10825 1641 1641 * @since 1.2.0 1642 1642 * 1643 * @uses bp_core_get_upload_dir() To get upload directory info.1644 *1645 1643 * @return string Absolute path to WP upload directory. 1646 1644 */ … … 1661 1659 * 1662 1660 * @since 1.2.0 1663 *1664 * @uses bp_core_get_upload_dir() To get upload directory info.1665 1661 * 1666 1662 * @return string Full URL to current upload location. … … 1950 1946 * @since 2.2.0 1951 1947 * 1952 * @uses bp_is_group_create()1953 * @uses bp_is_group_admin_page()1954 * @uses bp_is_group_admin_screen() to check for a group admin screen1955 * @uses bp_action_variable() to check for the group's avatar creation step1956 * @uses bp_is_user_change_avatar() to check for the user's change profile screen1957 *1958 1948 * @param WP_Query|null $posts_query The main query object. 1959 1949 */ -
trunk/src/bp-core/bp-core-buddybar.php
r10745 r10825 904 904 * @since 1.5.0 905 905 * 906 * @uses get_user_option()907 *908 906 * @param string $context Context of this preference check. 'admin' or 'front'. 909 907 * @param int $user Optional. ID of the user to check. Default: 0 (which falls back to the logged-in user's ID). -
trunk/src/bp-core/bp-core-caps.php
r10497 r10825 58 58 * @since 1.6.0 59 59 * 60 * @uses get_role() To get the administrator, default and moderator roles.61 * @uses WP_Role::add_cap() To add various capabilities.62 * @uses do_action() Calls 'bp_add_caps'.63 60 */ 64 61 function bp_add_caps() { … … 94 91 * @since 1.6.0 95 92 * 96 * @uses get_role() To get the administrator and default roles.97 * @uses WP_Role::remove_cap() To remove various capabilities.98 * @uses do_action() Calls 'bp_remove_caps'.99 93 */ 100 94 function bp_remove_caps() { … … 130 124 * @see WP_User::has_cap() for description of the arguments passed to the 131 125 * 'map_meta_cap' filter. 132 * @uses apply_filters() Calls 'bp_map_meta_caps' with caps, cap, user ID and133 126 * args. 134 127 * … … 159 152 * @since 1.6.0 160 153 * 161 * @uses apply_filters() Calls 'bp_get_community_caps' with the capabilities.162 *163 154 * @return array Community capabilities. 164 155 */ … … 182 173 * 183 174 * @since 1.6.0 184 *185 * @uses apply_filters() Allow return value to be filtered.186 175 * 187 176 * @param string $role The role for which you're loading caps. … … 233 222 * @global BuddyPress $bp Global BuddyPress settings object. 234 223 * 235 * @uses is_multisite()236 * @uses bp_allow_global_access()237 * @uses bp_is_user_inactive()238 * @uses is_user_logged_in()239 * @uses current_user_can()240 * @uses WP_User::set_role()241 224 */ 242 225 function bp_set_current_user_default_role() { -
trunk/src/bp-core/bp-core-catchuri.php
r10791 r10825 726 726 * $bp->canonical_stack['base_url'] and ['component'] may be set. 727 727 * @see bp_core_new_nav_item() where $bp->canonical_stack['action'] may be set. 728 * @uses bp_get_canonical_url()729 * @uses bp_get_requested_url()730 728 */ 731 729 function bp_redirect_canonical() { … … 796 794 * 797 795 * @since 1.6.0 798 *799 * @uses apply_filters() Filter bp_get_canonical_url to modify return value.800 796 * 801 797 * @param array $args { … … 934 930 * @since 1.6.0 935 931 * 936 * @uses bp_is_blog_page()937 932 */ 938 933 function _bp_maybe_remove_redirect_canonical() { -
trunk/src/bp-core/bp-core-cssjs.php
r10643 r10825 340 340 * @since 2.0.0 341 341 * 342 * @uses apply_filters() to allow other component to load extra dependencies.343 *344 342 * @return array The JavaScript dependencies. 345 343 */ -
trunk/src/bp-core/bp-core-dependency.php
r10823 r10825 217 217 * @link https://core.trac.wordpress.org/ticket/24169 218 218 * 219 * @uses did_action() To make sure the user isn't loaded out of order.220 * @uses do_action() Calls 'bp_setup_current_user'.221 219 */ 222 220 function bp_setup_current_user() { … … 410 408 * @since 1.6.0 411 409 * 412 * @uses do_action()413 410 */ 414 411 function bp_template_redirect() { … … 431 428 * @since 1.5.0 432 429 * 433 * @uses do_action()434 430 */ 435 431 function bp_register_theme_directory() { … … 452 448 * @since 1.7.0 453 449 * 454 * @uses do_action()455 450 */ 456 451 function bp_register_theme_packages() { … … 469 464 * @since 1.6.0 470 465 * 471 * @uses do_action() Calls 'bp_enqueue_scripts'.472 466 */ 473 467 function bp_enqueue_scripts() { … … 486 480 * @since 1.8.0 487 481 * 488 * @uses do_action() Calls 'bp_add_rewrite_tags'.489 482 */ 490 483 function bp_add_rewrite_tags() { … … 503 496 * @since 1.9.0 504 497 * 505 * @uses do_action() Calls 'bp_add_rewrite_rules'.506 498 */ 507 499 function bp_add_rewrite_rules() { … … 520 512 * @since 1.9.0 521 513 * 522 * @uses do_action() Calls 'bp_add_permastructs'.523 514 */ 524 515 function bp_add_permastructs() { … … 540 531 * @since 1.6.0 541 532 * 542 * @uses do_action() Calls 'bp_setup_theme'.543 533 */ 544 534 function bp_setup_theme() { … … 564 554 * @since 1.6.0 565 555 * 566 * @uses do_action() Calls 'bp_after_setup_theme'.567 556 */ 568 557 function bp_after_setup_theme() { … … 631 620 * @since 1.6.0 632 621 * 633 * @uses apply_filters()634 *635 622 * @param string $template See 'template_include'. 636 623 * @return string Template file to use. … … 653 640 * @since 1.7.0 654 641 * 655 * @uses do_action() Calls 'bp_generate_rewrite_rules' with {@link WP_Rewrite}.656 *657 642 * @param WP_Rewrite $wp_rewrite See 'generate_rewrite_rules'. 658 643 */ … … 675 660 * 676 661 * @since 1.7.0 677 *678 * @uses apply_filters() Calls 'bp_allowed_themes' with the allowed themes list.679 662 * 680 663 * @param array $themes The path of the template to include. … … 700 683 * @since 1.9.0 701 684 * 702 * @uses do_action()703 685 */ 704 686 function bp_post_request() { … … 744 726 * @since 1.9.0 745 727 * 746 * @uses do_action()747 728 */ 748 729 function bp_get_request() { -
trunk/src/bp-core/bp-core-filters.php
r10761 r10825 81 81 * @since 1.5.0 82 82 * 83 * @uses bp_is_active() checks if a BuddyPress component is active.84 *85 83 * @param array $pages List of excluded page IDs, as passed to the 86 84 * 'wp_list_pages_excludes' filter. … … 119 117 * 120 118 * @since 2.0.0 121 *122 * @uses bp_is_root_blog() checks if current blog is root blog.123 * @uses buddypress() gets BuddyPress main instance124 119 * 125 120 * @param object|null $object The post type object used in the meta box. … … 287 282 * @since 1.2.0 288 283 * 289 * @uses apply_filters() Filter 'bp_core_login_redirect' to modify where users290 284 * are redirected to on login. 291 285 * -
trunk/src/bp-core/bp-core-functions.php
r10763 r10825 18 18 * @since 1.6.0 19 19 * 20 * @uses bp_get_version() To get the BuddyPress version.21 20 */ 22 21 function bp_version() { … … 39 38 * @since 1.6.0 40 39 * 41 * @uses bp_get_db_version() To get the BuddyPress database version.42 40 */ 43 41 function bp_db_version() { … … 60 58 * @since 1.6.0 61 59 * 62 * @uses bp_get_db_version_raw() To get the current database BuddyPress version.63 60 */ 64 61 function bp_db_version_raw() { … … 359 356 * @since 1.5.0 360 357 * 361 * @uses apply_filters() Filter 'bp_is_username_compatibility_mode' to alter.362 358 * @todo Move to members component? 363 359 * … … 384 380 * 385 381 * @since 1.5.0 386 *387 * @uses apply_filters() Filter 'bp_use_wp_admin_bar' to alter.388 382 * 389 383 * @return bool Default: true. False when WP Toolbar support is disabled. … … 924 918 * @since 1.0.0 925 919 * 926 * @uses get_blog_option() WordPress function to fetch blog meta.927 *928 920 * @return string The domain URL for the blog. 929 921 */ … … 946 938 * 947 939 * @since 1.0.0 948 *949 * @uses wp_safe_redirect()950 940 * 951 941 * @param string $location The redirect URL. … … 1077 1067 * 1078 1068 * @since 1.0.0 1079 *1080 * @uses apply_filters() Filter 'bp_core_time_since_pre' to bypass BP's calculations.1081 * @uses apply_filters() Filter 'bp_core_time_since' to modify BP's calculations.1082 1069 * 1083 1070 * @param int|string $older_date The earlier time from which you're calculating … … 1317 1304 * @since 1.1.0 1318 1305 * 1319 * @uses setcookie() Sets a cookie value for the user.1320 1306 */ 1321 1307 function bp_core_setup_message() { … … 1401 1387 * @since 1.0.0 1402 1388 * 1403 * @uses bp_update_user_meta() BP function to update user metadata in the1404 1389 * usermeta table. 1405 1390 * … … 1459 1444 * @since 1.0.0 1460 1445 * 1461 * @uses bp_core_time_since() This function will return an English1462 1446 * representation of the time elapsed. 1463 1447 * … … 1510 1494 * @since 1.5.0 1511 1495 * 1512 * @uses apply_filters() Filter 'bp_get_user_meta_key' to modify keys individually.1513 *1514 1496 * @param string|bool $key The usermeta meta_key. 1515 1497 * @return string $key The usermeta meta_key. … … 1537 1519 * 1538 1520 * @see get_user_meta() For complete details about parameters and return values. 1539 * @uses bp_get_user_meta_key() For a filterable version of the meta key.1540 1521 * 1541 1522 * @param int $user_id The ID of the user whose meta you're fetching. … … 1559 1540 * 1560 1541 * @see update_user_meta() For complete details about parameters and return values. 1561 * @uses bp_get_user_meta_key() For a filterable version of the meta key.1562 1542 * 1563 1543 * @param int $user_id The ID of the user whose meta you're setting. … … 1581 1561 * 1582 1562 * @see delete_user_meta() For complete details about parameters and return values. 1583 * @uses bp_get_user_meta_key() For a filterable version of the meta key.1584 1563 * 1585 1564 * @param int $user_id The ID of the user whose meta you're deleting. … … 1710 1689 * @since 1.5.0 1711 1690 * 1712 * @uses bp_core_do_network_admin()1713 * @uses network_admin_url()1714 * @uses admin_url()1715 1691 * 1716 1692 * @param string $path Optional. The sub-path under /wp-admin to be … … 1744 1720 * @since 1.5.0 1745 1721 * 1746 * @uses bp_is_network_activated()1747 * @uses bp_is_multiblog_mode()1748 *1749 1722 * @return bool True if the BP admin screen should appear in the Network Admin, 1750 1723 * otherwise false. … … 1879 1852 * @since 1.5.0 1880 1853 * 1881 * @uses apply_filters() Filter 'bp_is_multiblog_mode' to alter.1882 *1883 1854 * @return bool False when multiblog mode is disabled; true when enabled. 1884 1855 * Default: false. … … 2067 2038 * 2068 2039 * @since 1.6.0 2069 *2070 * @uses do_action() Calls 'bp_verify_nonce_request' on $action.2071 2040 * 2072 2041 * @param string $action Action nonce. … … 2691 2660 * @since 2.3.0 2692 2661 * 2693 * @uses is_multisite()2694 * @uses bp_is_root_blog()2695 * @uses switch_to_blog()2696 * @uses wp_upload_dir()2697 * @uses restore_current_blog()2698 *2699 2662 * @return string 2700 2663 */ -
trunk/src/bp-core/bp-core-moderation.php
r10356 r10825 20 20 * 21 21 * @since 1.6.0 22 *23 * @uses current_user_can() To check if the current user can throttle.24 * @uses bp_get_option() To get the throttle time.25 * @uses get_transient() To get the last posted transient of the ip.26 * @uses get_user_meta() To get the last posted meta of the user.27 22 * 28 23 * @param int $user_id User id to check for flood. … … 53 48 * 54 49 * @since 1.6.0 55 *56 * @uses bp_current_author_ip() To get current user IP address.57 * @uses bp_current_author_ua() To get current user agent.58 * @uses bp_current_user_can() Allow super admins to bypass blacklist.59 50 * 60 51 * @param int $user_id Topic or reply author ID. … … 191 182 * @since 1.6.0 192 183 * 193 * @uses bp_current_author_ip() To get current user IP address.194 * @uses bp_current_author_ua() To get current user agent.195 * @uses bp_current_user_can() Allow super admins to bypass blacklist.196 *197 184 * @param int $user_id Topic or reply author ID. 198 185 * @param string $title The title of the content. -
trunk/src/bp-core/bp-core-options.php
r10497 r10825 127 127 * @since 1.6.0 128 128 * 129 * @uses bp_get_default_options() To get default options.130 * @uses add_option() Adds default options.131 * @uses do_action() Calls 'bp_add_options'.132 129 */ 133 130 function bp_add_options() { … … 161 158 * @since 1.6.0 162 159 * 163 * @uses bp_get_default_options() To get default options.164 * @uses delete_option() Removes default options.165 * @uses do_action() Calls 'bp_delete_options'.166 160 */ 167 161 function bp_delete_options() { … … 192 186 * @since 1.6.0 193 187 * 194 * @uses bp_get_default_options() To get default options.195 * @uses add_filter() To add filters to 'pre_option_{$key}'.196 * @uses do_action() Calls 'bp_add_option_filters'.197 188 */ 198 189 function bp_setup_option_filters() { … … 253 244 * 254 245 * @since 1.2.0 255 *256 * @uses bp_get_root_blog_id()257 246 * 258 247 * @param string $option_name The option to be retrieved. … … 299 288 * @since 1.5.0 300 289 * 301 * @uses bp_get_root_blog_id()302 *303 290 * @param string $option_name The option key to be set. 304 291 * @param string $value The value to be set. … … 317 304 * 318 305 * @since 1.5.0 319 *320 * @uses bp_get_root_blog_id()321 306 * 322 307 * @param string $option_name The option key to be deleted. … … 530 515 * @since 1.6.0 531 516 * 532 * @uses bp_get_option() To get the profile sync option.533 *534 517 * @param bool $default Optional. Fallback value if not found in the database. 535 518 * Default: true. … … 552 535 * 553 536 * @since 1.6.0 554 *555 * @uses bp_get_option() To get the logged out Toolbar option.556 537 * 557 538 * @param bool $default Optional. Fallback value if not found in the database. … … 577 558 * @since 1.6.0 578 559 * 579 * @uses bp_get_option() To get the avatar uploads option.580 *581 560 * @param bool $default Optional. Fallback value if not found in the database. 582 561 * Default: true. … … 599 578 * 600 579 * @since 2.4.0 601 *602 * @uses bp_get_option() To get the cover image uploads option.603 580 * 604 581 * @param bool $default Optional. Fallback value if not found in the database. … … 657 634 * @since 2.4.0 658 635 * 659 * @uses bp_get_option() To get the group cover image uploads option.660 *661 636 * @param bool $default Optional. Fallback value if not found in the database. 662 637 * Default: false. … … 679 654 * 680 655 * @since 1.6.0 681 *682 * @uses bp_get_option() To get the account deletion option.683 656 * 684 657 * @param bool $default Optional. Fallback value if not found in the database. … … 705 678 * 706 679 * @todo split and move into blog and forum components. 707 * @uses bp_get_option() To get the blog/forum comments option.708 680 * 709 681 * @param bool $default Optional. Fallback value if not found in the database. … … 730 702 * 731 703 * @todo Move into groups component. 732 * @uses bp_get_option() To get the group creation.733 704 * 734 705 * @param bool $default Optional. Fallback value if not found in the database. … … 753 724 * @since 1.6.0 754 725 * 755 * @uses bp_get_option() To get the BuddyBar option.756 *757 726 * @param bool $default Optional. Fallback value if not found in the database. 758 727 * Default: true. … … 786 755 * @since 1.6.0 787 756 * 788 * @uses bp_get_option() To get the root forum ID from the database.789 757 * 790 758 * @param bool|string $default Optional. Default: '0'. … … 808 776 * @since 1.6.0 809 777 * 810 * @uses bp_get_option() To get the group forums option.811 *812 778 * @param bool $default Optional. Fallback value if not found in the database. 813 779 * Default: true. … … 831 797 * @since 1.6.0 832 798 * 833 * @uses bp_get_option() To get the Akismet option.834 *835 799 * @param bool $default Optional. Fallback value if not found in the database. 836 800 * Default: true. … … 854 818 * @since 2.0.0 855 819 * 856 * @uses bp_get_option() To get the Heartbeat option.857 *858 820 * @param bool $default Optional. Fallback value if not found in the database. 859 821 * Default: true. … … 876 838 * 877 839 * @since 1.7.0 878 *879 * @uses get_option() To get the theme package option.880 840 * 881 841 * @param string $default Optional. Fallback value if not found in the database. -
trunk/src/bp-core/bp-core-template-loader.php
r10746 r10825 19 19 * 20 20 * @since 1.7.0 21 *22 * @uses bp_locate_template()23 * @uses load_template()24 * @uses get_template_part()25 21 * 26 22 * @param string $slug Template part slug. Used to generate filenames, … … 300 296 * @since 1.7.0 301 297 * 302 * @uses bp_set_theme_compat_templates()303 * @uses bp_locate_template()304 * @uses bp_set_theme_compat_template()305 *306 298 * @param string $type Filename without extension. 307 299 * @param array $templates An optional list of template candidates. … … 514 506 * 515 507 * @global string $pagenow 516 * @uses bp_locate_template()517 508 */ 518 509 function bp_load_theme_functions() { -
trunk/src/bp-core/bp-core-template.php
r10774 r10825 27 27 * @since 1.0.0 28 28 * 29 * @uses bp_get_user_nav() Renders the navigation for a profile of a currently30 29 * viewed user. 31 30 * … … 1484 1483 * @since 1.5.0 1485 1484 * 1486 * @uses bp_get_search_slug()1487 1485 */ 1488 1486 function bp_search_slug() { … … 1513 1511 * @since 1.0.0 1514 1512 * 1515 * @uses apply_filters() Filter 'bp_displayed_user_id' to change this value.1516 *1517 1513 * @return int $id ID of the currently displayed user. 1518 1514 */ … … 1537 1533 * 1538 1534 * @since 1.0.0 1539 *1540 * @uses apply_filters() Filter 'bp_loggedin_user_id' to change this value.1541 1535 * 1542 1536 * @return int ID of the logged-in user. -
trunk/src/bp-core/bp-core-theme-compatibility.php
r10652 r10825 58 58 * @since 1.7.0 59 59 * 60 * @uses apply_filters()61 *62 60 * @return string ID of the theme package in use. 63 61 */ … … 82 80 * @since 1.7.0 83 81 * 84 * @uses apply_filters()85 *86 82 * @return string Name of the theme package currently in use. 87 83 */ … … 106 102 * @since 1.7.0 107 103 * 108 * @uses apply_filters()109 *110 104 * @return string The version string of the theme package currently in use. 111 105 */ … … 129 123 * 130 124 * @since 1.7.0 131 *132 * @uses apply_filters()133 125 * 134 126 * @return string The absolute path of the theme package currently in use. … … 155 147 * @since 1.7.0 156 148 * 157 * @uses apply_filters()158 *159 149 * @return string URL of the theme package currently in use. 160 150 */ … … 178 168 * 179 169 * @since 1.9.0 180 *181 * @uses bp_detect_theme_compat_with_current_theme()182 170 * 183 171 * @return bool True if the current theme needs theme compatibility. … … 679 667 * @since 1.7.0 680 668 * 681 * @uses bp_is_single_user() To check if page is single user.682 * @uses bp_get_single_user_template() To get user template.683 * @uses bp_is_single_user_edit() To check if page is single user edit.684 * @uses bp_get_single_user_edit_template() To get user edit template.685 * @uses bp_is_single_view() To check if page is single view.686 * @uses bp_get_single_view_template() To get view template.687 * @uses bp_is_forum_edit() To check if page is forum edit.688 * @uses bp_get_forum_edit_template() To get forum edit template.689 * @uses bp_is_topic_merge() To check if page is topic merge.690 * @uses bp_get_topic_merge_template() To get topic merge template.691 * @uses bp_is_topic_split() To check if page is topic split.692 * @uses bp_get_topic_split_template() To get topic split template.693 * @uses bp_is_topic_edit() To check if page is topic edit.694 * @uses bp_get_topic_edit_template() To get topic edit template.695 * @uses bp_is_reply_edit() To check if page is reply edit.696 * @uses bp_get_reply_edit_template() To get reply edit template.697 * @uses bp_set_theme_compat_template() To set the global theme compat template.698 *699 669 * @param string $template Template name. 700 670 * @return string $template Template name. -
trunk/src/bp-core/bp-core-update.php
r10582 r10825 17 17 * 18 18 * @since 1.7.0 19 *20 * @uses get_option()21 * @uses bp_get_db_version() To get BuddyPress's database version.22 19 * 23 20 * @return bool True if this is a fresh BP install, otherwise false. … … 36 33 * @since 1.6.0 37 34 * 38 * @uses get_option()39 * @uses bp_get_db_version() To get BuddyPress's database version.40 *41 35 * @return bool True if update, otherwise false. 42 36 */ … … 58 52 * 59 53 * @since 1.6.0 60 *61 * @uses buddypress()62 54 * 63 55 * @param string $basename BuddyPress basename. … … 105 97 * @since 1.6.0 106 98 * 107 * @uses buddypress()108 *109 99 * @param string $basename BuddyPress basename. 110 100 * @return bool True if deactivating BuddyPress, false if not. … … 151 141 * @since 1.6.0 152 142 * 153 * @uses bp_get_db_version() To get BuddyPress's database version.154 * @uses bp_update_option() To update BuddyPress's database version.155 143 */ 156 144 function bp_version_bump() { … … 520 508 * 521 509 * @global $wpdb 522 * @uses buddypress()523 510 */ 524 511 function bp_migrate_new_member_activity_component() { … … 554 541 * @since 2.2.0 555 542 * 556 * @uses bp_activity_delete() to delete the corresponding friendship activities.557 543 */ 558 544 function bp_cleanup_friendship_activities() { … … 571 557 * @internal Used internally to redirect BuddyPress to the about page on activation. 572 558 * 573 * @uses set_transient() To drop the activation transient for 30 seconds.574 559 */ 575 560 function bp_add_activation_redirect() { … … 641 626 * @since 1.6.0 642 627 * 643 * @uses do_action() Calls 'bp_activation' hook.644 628 */ 645 629 function bp_activation() { … … 671 655 * @since 1.6.0 672 656 * 673 * @uses do_action() Calls 'bp_deactivation' hook.674 657 */ 675 658 function bp_deactivation() { … … 706 689 * @since 1.6.0 707 690 * 708 * @uses do_action() Calls 'bp_uninstall' hook.709 691 */ 710 692 function bp_uninstall() { -
trunk/src/bp-core/classes/class-bp-admin.php
r10750 r10825 83 83 * @since 1.6.0 84 84 * 85 * @uses BP_Admin::setup_globals() Setup the globals needed.86 * @uses BP_Admin::includes() Include the required files.87 * @uses BP_Admin::setup_actions() Setup the hooks and actions.88 85 */ 89 86 public function __construct() { … … 138 135 * @since 1.6.0 139 136 * 140 * @uses add_action() To add various actions.141 * @uses add_filter() To add various filters.142 137 */ 143 138 private function setup_actions() { … … 200 195 * @since 1.6.0 201 196 * 202 * @uses add_management_page() To add the Recount page in Tools section.203 * @uses add_options_page() To add the Forums settings page in Settings204 197 * section. 205 198 */ … … 382 375 * @since 1.6.0 383 376 * 384 * @uses add_settings_section() To add our own settings section.385 * @uses add_settings_field() To add various settings fields.386 * @uses register_setting() To register various settings.387 377 */ 388 378 public function register_admin_settings() { -
trunk/src/bp-core/classes/class-bp-attachment-avatar.php
r10800 r10825 26 26 * 27 27 * @see BP_Attachment::__construct() for list of parameters 28 * @uses bp_core_avatar_original_max_filesize()29 * @uses BP_Attachment::__construct()30 28 */ 31 29 public function __construct() { … … 65 63 * @since 2.3.0 66 64 * 67 * @uses bp_core_avatar_upload_path()68 * @uses bp_core_avatar_url()69 * @uses bp_upload_dir()70 * @uses BP_Attachment::set_upload_dir()71 65 */ 72 66 public function set_upload_dir() { … … 88 82 * @since 2.3.0 89 83 * 90 * @uses bp_core_check_avatar_size()91 * @uses bp_core_check_avatar_type()92 84 * 93 85 * @param array $file the temporary file attributes (before it has been moved). … … 119 111 * @since 2.4.0 Add the $ui_available_width parameter, to inform about the Avatar UI width. 120 112 * 121 * @uses bp_core_avatar_original_max_width()122 113 * 123 114 * @param string $file The absolute path to the file. … … 185 176 * @since 2.3.0 186 177 * 187 * @uses bp_core_avatar_full_width()188 * @uses bp_core_avatar_full_height()189 178 * 190 179 * @param string $file the absolute path to the file. … … 209 198 * 210 199 * @see BP_Attachment::crop for the list of parameters 211 * @uses bp_core_fetch_avatar()212 * @uses bp_core_delete_existing_avatar()213 * @uses bp_core_avatar_full_width()214 * @uses bp_core_avatar_full_height()215 * @uses bp_core_avatar_dimension()216 * @uses BP_Attachment::crop217 200 * 218 201 * @param array $args Array of arguments for the cropping. -
trunk/src/bp-core/classes/class-bp-attachment.php
r10417 r10825 51 51 * @since 2.3.0 52 52 * @since 2.4.0 Add the $upload_dir_filter_args argument to the $arguments array 53 * @uses sanitize_key()54 * @uses wp_max_upload_size()55 * @uses bp_parse_args()56 * @uses BP_Attachment->set_upload_error_strings()57 * @uses BP_Attachment->set_upload_dir()58 53 * 59 54 * @param array|string $args { … … 116 111 * @since 2.3.0 117 112 * 118 * @uses bp_upload_dir()119 113 */ 120 114 public function set_upload_dir() { … … 204 198 * @since 2.3.0 205 199 * 206 * @uses wp_handle_upload() To upload the file207 * @uses add_filter() To temporarly overrides WordPress uploads data208 * @uses remove_filter() To stop overriding WordPress uploads data209 * @uses apply_filters() Call 'bp_attachment_upload_overrides' to include specific upload overrides210 200 * 211 201 * @param array $file The appropriate entry the from $_FILES superglobal. … … 304 294 * @since 2.3.0 305 295 * 306 * @uses get_allowed_mime_types()307 296 */ 308 297 protected function validate_mime_types() { … … 355 344 * @since 2.4.0 Add the $upload_dir parameter to the method 356 345 * 357 * @uses apply_filters() call 'bp_attachment_upload_dir' to eventually override the upload location358 346 * regarding to context 359 347 * … … 390 378 * @since 2.3.0 391 379 * 392 * @uses wp_mkdir_p()393 380 */ 394 381 public function create_dir() { … … 427 414 * @type string $dst_file Optional. The destination file to write to. 428 415 * } 429 * @uses wp_crop_image()430 416 * 431 417 * @return string|WP_Error New filepath on success, WP_Error on failure. -
trunk/src/bp-core/classes/class-bp-component.php
r10745 r10825 207 207 * @since 1.5.0 208 208 * 209 * @uses apply_filters() Calls 'bp_{@link bp_Component::name}_id'.210 * @uses apply_filters() Calls 'bp_{@link bp_Component::name}_slug'.211 209 * 212 210 * @param array $args { … … 351 349 * @since 1.5.0 352 350 * 353 * @uses do_action() Calls 'bp_{@link bp_Component::name}includes'.354 351 * 355 352 * @param array $includes An array of file names, or file name chunks, … … 402 399 * @since 1.5.0 403 400 * 404 * @uses add_action() To add various actions.405 * @uses do_action() Calls 'bp_{@link BP_Component::name}setup_actions'.406 401 */ 407 402 public function setup_actions() { … … 599 594 * @since 1.5.0 600 595 * 601 * @uses do_action() Calls 'bp_{@link bp_Component::name}_setup_title'.602 596 */ 603 597 public function setup_title() { … … 618 612 * @since 2.2.0 619 613 * 620 * @uses do_action() Calls 'bp_setup_{@link bp_Component::name}_cache_groups'.621 614 */ 622 615 public function setup_cache_groups() { … … 724 717 * @since 1.5.0 725 718 * 726 * @uses do_action() Calls 'bp_{@link bp_Component::name}_register_post_types'.727 719 */ 728 720 public function register_post_types() { … … 743 735 * @since 1.5.0 744 736 * 745 * @uses do_action() Calls 'bp_{@link bp_Component::name}_register_taxonomies'.746 737 */ 747 738 public function register_taxonomies() { … … 762 753 * @since 1.5.0 763 754 * 764 * @uses do_action() Calls 'bp_{@link bp_Component::name}_add_rewrite_tags'.765 755 */ 766 756 public function add_rewrite_tags() { … … 781 771 * @since 1.9.0 782 772 * 783 * @uses do_action() Calls 'bp_{@link bp_Component::name}_add_rewrite_rules'.784 773 */ 785 774 public function add_rewrite_rules() { … … 800 789 * @since 1.9.0 801 790 * 802 * @uses do_action() Calls 'bp_{@link bp_Component::name}_add_permastruct'.803 791 */ 804 792 public function add_permastructs() { … … 819 807 * @since 1.9.0 820 808 * 821 * @uses do_action() Calls 'bp_{@link bp_Component::name}_parse_query'.822 809 * 823 810 * @param object $query The main WP_Query. … … 842 829 * @since 1.5.0 843 830 * 844 * @uses do_action() Calls 'bp_{@link bp_Component::name}_generate_rewrite_rules'.845 831 */ 846 832 public function generate_rewrite_rules() { -
trunk/src/bp-core/classes/class-bp-core-user.php
r10749 r10825 147 147 /** 148 148 * Populate the instantiated class with data based on the User ID provided. 149 *150 * @uses bp_core_get_userurl() Returns the URL with no HTML markup for151 * a user based on their user id.152 * @uses bp_core_get_userlink() Returns a HTML formatted link for a153 * user with the user's full name as the link text.154 * @uses bp_core_get_user_email() Returns the email address for the155 * user based on user ID.156 * @uses bp_get_user_meta() BP function returns the value of passed157 * usermeta name from usermeta table.158 * @uses bp_core_fetch_avatar() Returns HTML formatted avatar for a user159 * @uses bp_profile_last_updated_date() Returns the last updated date160 * for a user.161 149 */ 162 150 public function populate() { -
trunk/src/bp-core/classes/class-bp-core.php
r10745 r10825 25 25 * @since 1.5.0 26 26 * 27 * @uses BP_Core::bootstrap()28 27 */ 29 28 public function __construct() { -
trunk/src/bp-core/classes/class-bp-embed.php
r10548 r10825 76 76 * for oEmbed parsing. 77 77 * 78 * @uses wp_parse_args()79 * @uses wp_embed_defaults()80 * @uses current_user_can()81 * @uses _wp_oembed_get_object()82 * @uses WP_Embed::maybe_make_link()83 78 * 84 79 * @param array $attr Shortcode attributes. … … 175 170 * View an example to add support in {@link bp_activity_embed()}. 176 171 * 177 * @uses apply_filters() Filters cache.178 * @uses do_action() To save cache.179 * @uses wp_oembed_get() Connects to oEmbed provider and returns HTML180 172 * on success. 181 * @uses WP_Embed::maybe_make_link() Process URL for hyperlinking on182 173 * oEmbed failure. 183 174 * -
trunk/src/bp-core/deprecated/1.2.php
r10108 r10825 16 16 * 17 17 * @param array $args 18 *19 * @uses BP_Activity_Activity::get() {@link BP_Activity_Activity}20 18 * 21 19 * @return object $activity The activity/activities object -
trunk/src/bp-core/deprecated/1.7.php
r10108 r10825 16 16 * @since 1.6.0 17 17 * @deprecated 1.7.0 18 * @uses bp_get_maintenance_mode() To get the BuddyPress maintenance mode19 18 */ 20 19 function bp_maintenance_mode() { -
trunk/src/bp-forums/bp-forums-template.php
r10821 r10825 16 16 * @since 1.5.0 17 17 * 18 * @uses bp_get_forums_slug()19 18 */ 20 19 function bp_forums_slug() { … … 44 43 * @since 1.5.0 45 44 * 46 * @uses bp_get_forums_root_slug()47 45 */ 48 46 function bp_forums_root_slug() { … … 72 70 * @since 1.5.0 73 71 * 74 * @uses bp_get_forums_directory_permalink()75 72 */ 76 73 function bp_forums_directory_permalink() { … … 82 79 * @since 1.5.0 83 80 * 84 * @uses apply_filters()85 * @uses trailingslashit()86 * @uses bp_get_root_domain()87 * @uses bp_get_forums_root_slug()88 81 * 89 82 * @return string The permalink for the forums component directory. … … 481 474 * @since 1.1.0 482 475 * 483 * @uses apply_filters() Filter 'bp_has_topics' to manipulate the484 476 * $forums_template global before it's rendered, or to modify the value 485 477 * of has_topics(). … … 1951 1943 * @since 1.5.0 1952 1944 * 1953 * @uses apply_filters() Filter bp_get_forum_topic_new_reply_link to1954 1945 * modify. 1955 1946 * -
trunk/src/bp-friends/bp-friends-template.php
r10782 r10825 16 16 * @since 1.5.0 17 17 * 18 * @uses bp_get_friends_slug()19 18 */ 20 19 function bp_friends_slug() { … … 45 44 * @since 1.5.0 46 45 * 47 * @uses bp_get_friends_root_slug()48 46 */ 49 47 function bp_friends_root_slug() { … … 685 683 * @since 2.0.0 686 684 * 687 * @uses bp_friends_get_profile_stats() to get the stats.688 *689 685 * @param array|string $args before|after|user_id. 690 686 */ -
trunk/src/bp-groups/bp-groups-template.php
r10775 r10825 3415 3415 * @since 2.2.0 3416 3416 * 3417 * @uses bp_group_create_nav_item() to output the create a Group nav item.3418 *3419 3417 * @return string HTML Output 3420 3418 */ … … 4299 4297 * @since 1.5.0 4300 4298 * 4301 * @uses apply_filters() To call 'bp_user_can_create_groups'.4302 * @uses bp_get_option() To retrieve value of 'bp_restrict_group_creation'. Defaults to 0.4303 * @uses bp_current_user_can() To determine if current user if super admin.4304 4299 * @return bool True if user can create groups. False otherwise. 4305 4300 */ … … 4782 4777 * @since 1.6.0 4783 4778 * 4784 * @uses apply_filters() Filter bp_get_groups_current_create_step to modify.4785 4779 * 4786 4780 * @return string $current_create_step … … 5062 5056 * @since 1.6.0 5063 5057 * 5064 * @uses apply_filters() Filter bp_get_current_group_admin_tab to modify return value.5065 5058 * 5066 5059 * @return string $tab The current tab's slug. … … 5089 5082 * 5090 5083 * @since 1.0.0 5091 *5092 * @uses bp_get_group_current_avatar() to get the avatar of the current group.5093 5084 * 5094 5085 * @param string $type Thumb or full. … … 5788 5779 * 5789 5780 * @since 1.5.0 5790 * @uses apply_filters() Filter bp_get_current_group_id to modify this output.5791 5781 * 5792 5782 * @return int $current_group_id The id of the current group, if there is one. … … 5819 5809 * 5820 5810 * @since 1.5.0 5821 * @uses apply_filters() Filter bp_get_current_group_slug to modify this output.5822 5811 * 5823 5812 * @return string $current_group_slug The slug of the current group, if there is one. … … 5850 5839 * 5851 5840 * @since 1.5.0 5852 * @uses apply_filters() Filter bp_get_current_group_name to modify this output.5853 5841 * 5854 5842 * @return string The name of the current group, if there is one. … … 5881 5869 * 5882 5870 * @since 2.1.0 5883 * @uses apply_filters() Filter bp_get_current_group_description to modify5884 5871 * this output. 5885 5872 * … … 5987 5974 * @param array|string $args before|after|user_id 5988 5975 * 5989 * @uses bp_groups_get_profile_stats() to get the stats.5990 5976 */ 5991 5977 function bp_groups_profile_stats( $args = '' ) { -
trunk/src/bp-loader.php
r10745 r10825 140 140 * 141 141 * @static object $instance 142 * @uses BuddyPress::constants() Setup the constants (mostly deprecated).143 * @uses BuddyPress::setup_globals() Setup the globals needed.144 * @uses BuddyPress::legacy_constants() Setup the legacy constants (deprecated).145 * @uses BuddyPress::includes() Include the required files.146 * @uses BuddyPress::setup_actions() Setup the hooks and actions.147 142 * @see buddypress() 148 143 * … … 255 250 * @since 1.6.0 256 251 * 257 * @uses is_multisite()258 * @uses get_current_site()259 * @uses get_current_blog_id()260 * @uses plugin_dir_path()261 * @uses plugin_dir_url()262 252 */ 263 253 private function constants() { … … 336 326 * @since 1.6.0 337 327 * 338 * @uses plugin_dir_path() To generate BuddyPress plugin path.339 * @uses plugin_dir_url() To generate BuddyPress plugin url.340 * @uses apply_filters() Calls various filters.341 328 */ 342 329 private function setup_globals() { … … 477 464 * @since 1.6.0 478 465 * 479 * @uses is_admin() If in WordPress admin, load additional file.480 466 */ 481 467 private function includes() { … … 640 626 * @since 1.6.0 641 627 * 642 * @uses register_activation_hook() To register the activation hook.643 * @uses register_deactivation_hook() To register the deactivation hook.644 * @uses add_action() To add various actions.645 628 */ 646 629 private function setup_actions() { -
trunk/src/bp-members/bp-members-activity.php
r10711 r10825 16 16 * @since 2.2.0 17 17 * 18 * @uses bp_activity_set_action()19 * @uses buddypress()20 18 */ 21 19 function bp_members_register_activity_actions() { -
trunk/src/bp-members/bp-members-functions.php
r10800 r10825 1078 1078 * @since 1.6.0 1079 1079 * 1080 * @uses is_user_logged_in() To check if user is logged in1081 * @uses bp_loggedin_user_id() To get current user ID1082 * @uses bp_is_user_spammer() To check if user is spammer1083 * @uses bp_is_user_deleted() To check if user is deleted1084 *1085 1080 * @param int $user_id The user ID to check. 1086 1081 * @return bool True if active, otherwise false. … … 1119 1114 * @todo No need for the user fallback checks, since they're done in 1120 1115 * bp_is_user_active(). 1121 *1122 * @uses is_user_logged_in() To check if user is logged in.1123 * @uses bp_get_displayed_user_id() To get current user ID.1124 * @uses bp_is_user_active() To check if user is active.1125 1116 * 1126 1117 * @param int $user_id The user ID to check. -
trunk/src/bp-members/bp-members-template.php
r10796 r10825 22 22 * @since 2.4.0 23 23 * 24 * @uses bp_get_profile_slug()25 24 */ 26 25 function bp_profile_slug() { … … 51 50 * @since 1.5.0 52 51 * 53 * @uses bp_get_members_slug()54 52 */ 55 53 function bp_members_slug() { … … 80 78 * @since 1.5.0 81 79 * 82 * @uses bp_get_members_root_slug()83 80 */ 84 81 function bp_members_root_slug() { … … 139 136 * @since 1.5.0 140 137 * 141 * @uses bp_get_members_directory_permalink()142 138 */ 143 139 function bp_members_directory_permalink() { … … 167 163 * 168 164 * @since 2.5.0 169 *170 * @uses bp_get_member_type_directory_permalink()171 165 * 172 166 * @param string $member_type Optional. Member type. … … 216 210 * @since 1.5.0 217 211 * 218 * @uses bp_get_signup_slug()219 212 */ 220 213 function bp_signup_slug() { … … 254 247 * @since 1.5.0 255 248 * 256 * @uses bp_get_activate_slug()257 249 */ 258 250 function bp_activate_slug() { … … 559 551 * @since 1.2.0 560 552 * 561 * @uses bp_get_member_user_id()562 553 */ 563 554 function bp_member_user_id() { … … 1995 1986 * @since 1.5.0 1996 1987 * 1997 * @uses bp_get_signup_slug() To make sure there is a slug assigned to the page.1998 * @uses bp_locate_template() To make sure a template exists to provide output.1999 *2000 1988 * @return bool True if page and template exist, false if not. 2001 1989 */ … … 2045 2033 * 2046 2034 * @since 1.5.0 2047 *2048 * @uses bp_get_activate_slug() To make sure there is a slug assigned to the page.2049 * @uses bp_locate_template() To make sure a template exists to provide output.2050 2035 * 2051 2036 * @return boolean True if page and template exist, false if not. -
trunk/src/bp-members/classes/class-bp-core-members-widget.php
r10809 r10825 245 245 * @since 2.3.0 246 246 * 247 * @uses bp_parse_args() To merge widget settings into defaults.248 247 * 249 248 * @param array $instance Widget instance settings. -
trunk/src/bp-members/classes/class-bp-core-recently-active-widget.php
r10793 r10825 163 163 * @since 2.3.0 164 164 * 165 * @uses bp_parse_args() To merge widget settings into defaults.166 165 * 167 166 * @param array $instance Widget instance settings. -
trunk/src/bp-members/classes/class-bp-core-whos-online-widget.php
r10793 r10825 163 163 * @since 2.3.0 164 164 * 165 * @uses bp_parse_args() To merge widget settings into defaults.166 165 * 167 166 * @param array $instance Widget instance settings. -
trunk/src/bp-members/classes/class-bp-members-admin.php
r10739 r10825 66 66 * @since 2.0.0 67 67 * 68 * @uses buddypress() to get BuddyPress main instance.69 68 */ 70 69 public static function register_members_admin() { … … 369 368 * @since 2.1.0 370 369 * 371 * @uses add_submenu_page() To add the Edit Profile page in Profile section.372 370 */ 373 371 public function user_profile_menu() { … … 407 405 * @since 2.0.0 408 406 * 409 * @uses add_submenu_page() To add the Edit Profile page in Users/Profile section.410 407 */ 411 408 public function admin_menus() { … … 1229 1226 * @since 2.1.0 1230 1227 * 1231 * @uses user_admin_url()1232 1228 * 1233 1229 * @param string $profile_link Profile Link for admin bar. -
trunk/src/bp-messages/bp-messages-template.php
r10785 r10825 1008 1008 * @since 1.0.0 1009 1009 * @deprecated 1.6.0 1010 * @uses bp_get_message_is_active_notice()1011 1010 * @return bool 1012 1011 */ … … 1022 1021 * @since 1.0.0 1023 1022 * @deprecated 1.6.0 1024 * @uses bp_messages_is_active_notice()1025 1023 */ 1026 1024 function bp_get_message_is_active_notice() { … … 1219 1217 * @since 1.5.0 1220 1218 * 1221 * @uses bp_get_messages_slug()1222 1219 */ 1223 1220 function bp_messages_slug() { … … 1308 1305 * @since 1.2.6 1309 1306 * 1310 * @uses bp_get_send_message_button()1311 1307 */ 1312 1308 function bp_send_private_message_button() { … … 1955 1951 * @since 2.1.0 1956 1952 * 1957 * @uses strtotime() To convert the message string into a usable timestamp.1958 1953 * 1959 1954 * @return int -
trunk/src/bp-notifications/bp-notifications-functions.php
r10816 r10825 717 717 * @since 2.3.0 718 718 * 719 * @uses apply_filters() To call the 'bp_notifications_get_meta' hook.720 *721 719 * @param int $notification_id ID of the notification item whose metadata is being requested. 722 720 * @param string $meta_key Optional. If present, only the metadata matching -
trunk/src/bp-settings/bp-settings-template.php
r10716 r10825 16 16 * @since 1.5.0 17 17 * 18 * @uses bp_get_settings_slug()19 18 */ 20 19 function bp_settings_slug() { … … 45 44 * @since 1.5.0 46 45 * 47 * @uses bp_get_settings_root_slug()48 46 */ 49 47 function bp_settings_root_slug() { -
trunk/src/bp-templates/bp-legacy/buddypress-functions.php
r10820 r10825 42 42 * @since 1.7.0 43 43 * 44 * @uses BP_Legacy::setup_globals()45 * @uses BP_Legacy::setup_actions()46 44 */ 47 45 public function __construct() { … … 71 69 * @since 1.7.0 72 70 * 73 * @uses add_filter() To add various filters74 * @uses add_action() To add various actions75 71 */ 76 72 protected function setup_actions() { … … 211 207 * @since 2.3.0 Support custom CSS file named after the current theme or parent theme. 212 208 * 213 * @uses wp_enqueue_style() To enqueue the styles214 209 */ 215 210 public function enqueue_styles() { … … 514 509 * 515 510 * @param array $templates Array of templates. 516 * @uses apply_filters() call 'bp_legacy_theme_compat_page_templates_directory_only' and return false517 511 * to use the defined page template for component's directory and its single items 518 512 * @return array … … 607 601 * @since 2.2.0 608 602 * 609 * @uses bp_group_create_nav_item() to output the create a Group nav item.610 603 */ 611 604 function bp_legacy_theme_group_create_nav() { … … 637 630 * @since 2.2.0 638 631 * 639 * @uses bp_blog_create_nav_item() to output the Create a Site nav item640 632 */ 641 633 function bp_legacy_theme_blog_create_nav() { -
trunk/src/bp-xprofile/bp-xprofile-actions.php
r10740 r10825 23 23 * @since 1.0.0 24 24 * 25 * @uses bp_core_delete_avatar() Deletes the active avatar for the logged in user.26 * @uses add_action() Runs a specific function for an action when it fires.27 25 */ 28 26 function xprofile_action_delete_avatar() { -
trunk/src/bp-xprofile/bp-xprofile-activity.php
r10434 r10825 19 19 * @since 1.0.0 20 20 * 21 * @uses bp_activity_set_action() To setup the individual actions.22 21 */ 23 22 function xprofile_register_activity_actions() { … … 114 113 * 115 114 * @since 1.0.0 116 *117 * @uses bp_activity_add() Adds an entry to the activity component tables for a specific activity.118 115 * 119 116 * @param array|string $args String containing all variables used after bp_parse_args() call. … … 150 147 * @since 1.0.0 151 148 * 152 * @uses bp_activity_delete() Deletes an entry to the activity component tables153 149 * for a specific activity. 154 150 * … … 206 202 * @since 2.3.4 Add new parameter to get the user id the avatar was set for. 207 203 * 208 * @uses bp_activity_add() Adds an entry to the activity component tables for a209 204 * specific activity 210 205 * -
trunk/src/bp-xprofile/bp-xprofile-admin.php
r10740 r10825 20 20 * 21 21 * @since 1.0.0 22 *23 * @uses bp_current_user_can() returns true if the current user is a site admin, false if not.24 * @uses add_users_page() Adds a submenu tab to a top level tab in the admin area.25 22 * 26 23 * @return bool -
trunk/src/bp-xprofile/bp-xprofile-caps.php
r10434 r10825 21 21 * @param mixed $args Arguments. 22 22 * 23 * @uses get_post() To get the post.24 * @uses get_post_type_object() To get the post type object.25 * @uses apply_filters() Calls 'bp_map_meta_caps' with caps, cap, user id and args.26 23 * @return array Actual capabilities for meta capability. 27 24 */ -
trunk/src/bp-xprofile/bp-xprofile-functions.php
r10740 r10825 328 328 * @since 1.0.0 329 329 * 330 * @uses BP_XProfile_ProfileData::get_value_byid() Fetches the value based on the params passed.331 *332 330 * @param mixed $field The ID of the field, or the $name of the field. 333 331 * @param int $user_id The ID of the user. … … 390 388 * @since 1.0.0 391 389 * 392 * @uses xprofile_get_field_id_from_name() Gets the ID from the field based on the name.393 *394 390 * @param int|string $field The ID of the field, or the $name of the field. 395 391 * @param int $user_id The ID of the user. … … 604 600 * @global object $wpdb WordPress DB access object. 605 601 * @global object $current_user WordPress global variable containing current logged in user information. 606 * @uses xprofile_format_profile_field() Formats profile field data so it is suitable for display.607 602 * 608 603 * @param int $user_id User ID of the user to get random data for. … … 1160 1155 * 1161 1156 * @see BP_XProfile_Group::get() 1162 * @uses apply_filters() Filter bp_xprofile_get_hidden_fields_for_user to modify visibility levels,1163 1157 * or if you have added your own custom levels. 1164 1158 * -
trunk/src/bp-xprofile/bp-xprofile-screens.php
r10740 r10825 20 20 * @since 1.0.0 21 21 * 22 * @uses bp_core_load_template() Looks for and loads a template file within the current member theme (folder/filename).23 22 */ 24 23 function xprofile_screen_display_profile() { … … 50 49 * @since 1.0.0 51 50 * 52 * @uses bp_is_my_profile() Checks to make sure the current user being viewed equals the logged in user.53 * @uses bp_core_load_template() Looks for and loads a template file within the current member theme (folder/filename).54 51 */ 55 52 function xprofile_screen_edit_profile() { … … 210 207 * @since 1.0.0 211 208 * 212 * @uses bp_is_my_profile() Checks to make sure the current user being viewed equals the logged in user.213 * @uses bp_core_load_template() Looks for and loads a template file within the current member theme (folder/filename).214 209 */ 215 210 function xprofile_screen_change_avatar() { -
trunk/src/bp-xprofile/bp-xprofile-settings.php
r10434 r10825 42 42 * @since 2.0.0 43 43 * 44 * @uses bp_core_add_message()45 * @uses bp_is_my_profile()46 44 */ 47 45 function bp_xprofile_settings_add_feedback_message() { -
trunk/src/bp-xprofile/bp-xprofile-template.php
r10785 r10825 721 721 * @since 1.1.0 722 722 * 723 * @uses bp_get_the_profile_field_options()724 *725 723 * @param array $args Specify type for datebox. Allowed 'day', 'month', 'year'. 726 724 */ … … 733 731 * @since 1.1.0 734 732 * 735 * @uses BP_XProfile_Field::get_children()736 * @uses BP_XProfile_ProfileData::get_value_byid()737 733 * 738 734 * @param array $args { -
trunk/src/bp-xprofile/classes/class-bp-xprofile-user-admin.php
r10822 r10825 24 24 * @since 2.0.0 25 25 * 26 * @uses buddypress() to get BuddyPress main instance.27 26 */ 28 27 public static function register_xprofile_user_admin() {
Note: See TracChangeset
for help on using the changeset viewer.