Changeset 4907
- Timestamp:
- 07/30/2011 02:00:16 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 48 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-classes.php
r4817 r4907 197 197 /** 198 198 * In BuddyPress 1.2.x, this was used to retrieve specific activity stream items (for example, on an activity's permalink page). 199 * As of 1. 3.x, use BP_Activity_Activity::get( ..., $in ) instead.199 * As of 1.5.x, use BP_Activity_Activity::get( ..., $in ) instead. 200 200 * 201 * @deprecated 1. 3201 * @deprecated 1.5 202 202 * @deprecated Use BP_Activity_Activity::get( ..., $in ) instead. 203 203 * @param mixed $activity_ids Array or comma-separated string of activity IDs to retrieve … … 211 211 */ 212 212 function get_specific( $activity_ids, $max = false, $page = 1, $per_page = 25, $sort = 'DESC', $display_comments = false ) { 213 _deprecated_function( __FUNCTION__, '1. 3', 'Use BP_Activity_Activity::get( ..., $in ) instead.' );213 _deprecated_function( __FUNCTION__, '1.5', 'Use BP_Activity_Activity::get( ..., $in ) instead.' ); 214 214 return BP_Activity_Activity::get( $max, $page, $per_page, $sort, false, false, $display_comments, false, false, $activity_ids ); 215 215 } -
trunk/bp-activity/bp-activity-filters.php
r4817 r4907 147 147 * 148 148 * @package BuddyPress 149 * @since 1. 3149 * @since 1.5 150 150 * 151 151 * @param obj $activity … … 176 176 * 177 177 * @package BuddyPress Activity 178 * @since 1. 3178 * @since 1.5 179 179 * @param $text The original activity entry text 180 180 * @return $excerpt The truncated text -
trunk/bp-activity/bp-activity-functions.php
r4819 r4907 15 15 * Checks $bp pages global and looks for directory page 16 16 * 17 * @since 1. 317 * @since 1.5 18 18 * 19 19 * @global object $bp Global BuddyPress settings object … … 30 30 * 31 31 * @package BuddyPress Activity 32 * @since 1. 332 * @since 1.5 33 33 * 34 34 * @param str $content The content of the activity, usually found in $activity->content … … 50 50 * 51 51 * @package BuddyPress Activity 52 * @since 1. 352 * @since 1.5 53 53 * 54 54 * @param int $user_id The id of the user whose unread mentions are being reset … … 63 63 * 64 64 * @package BuddyPress Activity 65 * @since 1. 365 * @since 1.5 66 66 * 67 67 * @param int $activity_id The unique id for the activity item … … 1002 1002 * @see bp_embed_activity_save_cache() 1003 1003 * @package BuddyPress Activity 1004 * @since 1. 31004 * @since 1.5 1005 1005 */ 1006 1006 function bp_activity_embed() { … … 1016 1016 * 1017 1017 * @package BuddyPress Activity 1018 * @since 1. 31018 * @since 1.5 1019 1019 */ 1020 1020 function bp_embed_activity_cache( $cache, $id, $cachekey ) { … … 1027 1027 * 1028 1028 * @package BuddyPress Activity 1029 * @since 1. 31029 * @since 1.5 1030 1030 */ 1031 1031 function bp_embed_activity_save_cache( $cache, $cachekey, $id ) { -
trunk/bp-activity/bp-activity-loader.php
r4817 r4907 17 17 * Start the activity component creation process 18 18 * 19 * @since BuddyPress 1.319 * @since 1.5 20 20 */ 21 21 function BP_Activity_Component() { … … 55 55 * backwards compatibility. 56 56 * 57 * @since BuddyPress 1.357 * @since 1.5 58 58 * @global obj $bp 59 59 */ -
trunk/bp-activity/bp-activity-screens.php
r4847 r4907 75 75 * 76 76 * @package BuddyPress Activity 77 * @since 1. 377 * @since 1.5 78 78 * @uses bp_activity_clear_new_mentions() 79 79 * @uses bp_is_my_profile() -
trunk/bp-activity/bp-activity-template.php
r4888 r4907 15 15 * @package BuddyPress 16 16 * @subpackage Activity Template 17 * @since BuddyPress 1.317 * @since 1.5 18 18 * 19 19 * @uses bp_get_activity_slug() … … 27 27 * @package BuddyPress 28 28 * @subpackage Activity Template 29 * @since BuddyPress 1.329 * @since 1.5 30 30 */ 31 31 function bp_get_activity_slug() { … … 39 39 * @package BuddyPress 40 40 * @subpackage Activity Template 41 * @since BuddyPress 1.341 * @since 1.5 42 42 * 43 43 * @uses bp_get_activity_root_slug() … … 51 51 * @package BuddyPress 52 52 * @subpackage Activity Template 53 * @since BuddyPress 1.353 * @since 1.5 54 54 */ 55 55 function bp_get_activity_root_slug() { … … 63 63 * @package BuddyPress 64 64 * @subpackage Activity Template 65 * @since 1. 365 * @since 1.5 66 66 * @uses bp_get_activity_directory_permalink() 67 67 */ … … 74 74 * @package BuddyPress 75 75 * @subpackage Activity Template 76 * @since 1. 376 * @since 1.5 77 77 * @uses apply_filters() 78 78 * @uses traisingslashit() … … 92 92 * @package BuddyPress 93 93 * @subpackage Activity Template 94 * @since 1. 394 * @since 1.5 95 95 */ 96 96 class BP_Activity_Template { … … 418 418 * 419 419 * @package BuddyPress Activity 420 * @since 1. 3420 * @since 1.5 421 421 * 422 422 * @global $activities_template The activity data loop object created in bp_has_activities() … … 909 909 * @package BuddyPress 910 910 * @subpackage Activity Template 911 * @since 1. 3911 * @since 1.5 912 912 * 913 913 * @return obj $current_comment The activity comment currently being displayed … … 927 927 * @package BuddyPress 928 928 * @subpackage Activity Template 929 * @since 1. 3929 * @since 1.5 930 930 */ 931 931 function bp_activity_comment_id() { … … 937 937 * @package BuddyPress 938 938 * @subpackage Activity Template 939 * @since 1. 3939 * @since 1.5 940 940 * 941 941 * @return int $comment_id The id of the activity comment currently being displayed … … 954 954 * @package BuddyPress 955 955 * @subpackage Activity Template 956 * @since 1. 3956 * @since 1.5 957 957 */ 958 958 function bp_activity_comment_user_id() { … … 964 964 * @package BuddyPress 965 965 * @subpackage Activity Template 966 * @since 1. 3966 * @since 1.5 967 967 * 968 968 * @return int $user_id The user_id of the author of the displayed activity comment … … 981 981 * @package BuddyPress 982 982 * @subpackage Activity Template 983 * @since 1. 3983 * @since 1.5 984 984 */ 985 985 function bp_activity_comment_user_link() { … … 991 991 * @package BuddyPress 992 992 * @subpackage Activity Template 993 * @since 1. 3993 * @since 1.5 994 994 * 995 995 * @return str $user_link The URL of the activity comment author's profile … … 1006 1006 * @package BuddyPress 1007 1007 * @subpackage Activity Template 1008 * @since 1. 31008 * @since 1.5 1009 1009 */ 1010 1010 function bp_activity_comment_name() { … … 1018 1018 * @package BuddyPress 1019 1019 * @subpackage Activity Template 1020 * @since 1. 31020 * @since 1.5 1021 1021 * 1022 1022 * @return str $name The full name of the activity comment author … … 1035 1035 * @package BuddyPress 1036 1036 * @subpackage Activity Template 1037 * @since 1. 31037 * @since 1.5 1038 1038 */ 1039 1039 function bp_activity_comment_date_recorded() { … … 1045 1045 * @package BuddyPress 1046 1046 * @subpackage Activity Template 1047 * @since 1. 31047 * @since 1.5 1048 1048 * 1049 1049 * @return str $date_recorded Time since the activity was recorded, of the form "%s ago" … … 1065 1065 * @package BuddyPress 1066 1066 * @subpackage Activity Template 1067 * @since 1. 31067 * @since 1.5 1068 1068 */ 1069 1069 function bp_activity_comment_delete_link() { … … 1075 1075 * @package BuddyPress 1076 1076 * @subpackage Activity Template 1077 * @since 1. 31077 * @since 1.5 1078 1078 * 1079 1079 * @return str $link The nonced URL for deleting the current activity comment … … 1092 1092 * @package BuddyPress 1093 1093 * @subpackage Activity Template 1094 * @since 1. 31094 * @since 1.5 1095 1095 */ 1096 1096 function bp_activity_comment_content() { … … 1106 1106 * @package BuddyPress 1107 1107 * @subpackage Activity Template 1108 * @since 1. 31108 * @since 1.5 1109 1109 * 1110 1110 * @return str $content The content of the current activity comment … … 1577 1577 * Template tag so we can hook activity feed to <head> 1578 1578 * 1579 * @since 1. 31579 * @since 1.5 1580 1580 */ 1581 1581 function bp_activity_sitewide_feed() { -
trunk/bp-blogs/bp-blogs-functions.php
r4819 r4907 6 6 * Checks $bp pages global and looks for directory page 7 7 * 8 * @since 1. 38 * @since 1.5 9 9 * 10 10 * @global object $bp Global BuddyPress settings object -
trunk/bp-blogs/bp-blogs-loader.php
r4819 r4907 17 17 * Start the blogs component creation process 18 18 * 19 * @since BuddyPress 1.319 * @since 1.5 20 20 */ 21 21 function __construct() { … … 33 33 * backwards compatibility. 34 34 * 35 * @since BuddyPress 1.335 * @since 1.5 36 36 * @global obj $bp 37 37 */ -
trunk/bp-blogs/bp-blogs-template.php
r4819 r4907 56 56 * @package BuddyPress 57 57 * @subpackage Blogs Template 58 * @since 1. 358 * @since 1.5 59 59 * @uses bp_get_blogs_directory_permalink() 60 60 */ … … 67 67 * @package BuddyPress 68 68 * @subpackage Blogs Template 69 * @since 1. 369 * @since 1.5 70 70 * @uses apply_filters() 71 71 * @uses traisingslashit() … … 292 292 * By default it will return the avatar for the primary blog admin. 293 293 * 294 * This filter is deprecated as of BuddyPress 1. 3and may be removed in a future version.294 * This filter is deprecated as of BuddyPress 1.5 and may be removed in a future version. 295 295 * Use the 'bp_get_blog_avatar' filter instead. 296 296 */ -
trunk/bp-core/admin/bp-core-admin.php
r4879 r4907 327 327 * 328 328 * @package BuddyPress Core 329 * @since 1. 3329 * @since 1.5 330 330 */ 331 331 function bp_core_admin_component_options() { … … 476 476 * 477 477 * @package BuddyPress Core 478 * @since 1. 3478 * @since 1.5 479 479 */ 480 480 function bp_core_admin_page_options() { -
trunk/bp-core/admin/bp-core-update.php
r4820 r4907 1259 1259 * 1260 1260 * @package BuddyPress Core 1261 * @since 1. 31261 * @since 1.5 1262 1262 * 1263 1263 * @return array $page_ids … … 1289 1289 * 1290 1290 * @package BuddyPress Core 1291 * @since 1. 31291 * @since 1.5 1292 1292 * @global $pagenow The current admin page 1293 1293 */ -
trunk/bp-core/bp-core-avatars.php
r4820 r4907 732 732 * 733 733 * @package BuddyPress 734 * @since 1. 3734 * @since 1.5 735 735 * 736 736 * @param str $type 'thumb' for thumbs, otherwise full … … 750 750 * 751 751 * @package BuddyPress 752 * @since 1. 3752 * @since 1.5 753 753 * 754 754 * @return int The thumb width … … 762 762 * 763 763 * @package BuddyPress 764 * @since 1. 3764 * @since 1.5 765 765 * 766 766 * @return int The thumb height … … 774 774 * 775 775 * @package BuddyPress 776 * @since 1. 3776 * @since 1.5 777 777 * 778 778 * @return int The full width … … 786 786 * 787 787 * @package BuddyPress 788 * @since 1. 3788 * @since 1.5 789 789 * 790 790 * @return int The full height … … 798 798 * 799 799 * @package BuddyPress 800 * @since 1. 3800 * @since 1.5 801 801 * 802 802 * @return int The width … … 812 812 * 813 813 * @package BuddyPress 814 * @since 1. 3814 * @since 1.5 815 815 * 816 816 * @return int The filesize … … 826 826 * 827 827 * @package BuddyPress 828 * @since 1. 3828 * @since 1.5 829 829 * 830 830 * @return int The URL of the default avatar … … 840 840 * 841 841 * @package BuddyPress 842 * @since 1. 3842 * @since 1.5 843 843 * 844 844 * @return int The URL of the default avatar thumb -
trunk/bp-core/bp-core-buddybar.php
r4904 r4907 288 288 * 289 289 * @package BuddyPress 290 * @since 1. 3290 * @since 1.5 291 291 * 292 292 * @param str $nav_item The id of the top-level nav item whose nav items you're checking … … 574 574 * This can't be done in bp_core_load_admin_bar() because that function is called before locale.php is included. 575 575 * 576 * @since 1. 3576 * @since 1.5 577 577 */ 578 578 function bp_core_load_buddybar_rtl_stylesheet() { -
trunk/bp-core/bp-core-catchuri.php
r4820 r4907 358 358 * 359 359 * @package BuddyPress Core 360 * @since 1. 3360 * @since 1.5 361 361 */ 362 362 function bp_core_catch_no_access() { … … 391 391 * 392 392 * @package BuddyPress Core 393 * @since 1. 3393 * @since 1.5 394 394 */ 395 395 function bp_core_no_access( $args = '' ) { … … 448 448 * @package BuddyPress Core 449 449 * @global $error 450 * @since 1. 3450 * @since 1.5 451 451 */ 452 452 function bp_core_no_access_wp_login_error() { -
trunk/bp-core/bp-core-classes.php
r4896 r4907 1098 1098 * 1099 1099 * @package BuddyPress Core 1100 * @since 1. 31100 * @since 1.5 1101 1101 * @see WP_Embed 1102 1102 */ -
trunk/bp-core/bp-core-component.php
r4820 r4907 15 15 * @subpackage Component 16 16 * 17 * @since BuddyPress 1.317 * @since 1.5 18 18 */ 19 19 class BP_Component { … … 63 63 * Component loader 64 64 * 65 * @since BuddyPress 1.365 * @since 1.5 66 66 * 67 67 * @param mixed $args Required. Supports these args: … … 92 92 * Component global variables 93 93 * 94 * @since BuddyPress 1.394 * @since 1.5 95 95 * @access private 96 96 * … … 143 143 * Include required files 144 144 * 145 * @since BuddyPress 1.3145 * @since 1.5 146 146 * @access private 147 147 * … … 176 176 * Setup the actions 177 177 * 178 * @since BuddyPress 1.3178 * @since 1.5 179 179 * @access private 180 180 * … … 278 278 * Setup the component title 279 279 * 280 * @since Buddypress 1.3280 * @since 1.5 281 281 * 282 282 * @uses do_action() Calls 'bp_{@link bp_Component::name}setup_title' … … 289 289 * Setup the component post types 290 290 * 291 * @since BuddyPress 1.3291 * @since 1.5 292 292 * 293 293 * @uses do_action() Calls 'bp_{@link bp_Component::name}_register_post_types' … … 300 300 * Register component specific taxonomies 301 301 * 302 * @since BuddyPress 1.3302 * @since 1.5 303 303 * 304 304 * @uses do_action() Calls 'bp_{@link bp_Component::name}_register_taxonomies' … … 311 311 * Add any additional rewrite tags 312 312 * 313 * @since BuddyPress 1.3313 * @since 1.5 314 314 * 315 315 * @uses do_action() Calls 'bp_{@link bp_Component::name}_add_rewrite_tags' … … 322 322 * Generate any additional rewrite rules 323 323 * 324 * @since BuddyPress 1.3324 * @since 1.5 325 325 * 326 326 * @uses do_action() Calls 'bp_{@link bp_Component::name}_generate_rewrite_rules' -
trunk/bp-core/bp-core-filters.php
r4898 r4907 266 266 * @return string new page title 267 267 * @see wp_title() 268 * @since 1. 3268 * @since 1.5 269 269 */ 270 270 function bp_modify_page_title( $title, $sep, $seplocation ) { -
trunk/bp-core/bp-core-functions.php
r4855 r4907 12 12 * 13 13 * @package BuddyPress 14 * @since 1. 314 * @since 1.5 15 15 * 16 16 * @uses bp_get_root_blog_id() … … 32 32 * 33 33 * @package BuddyPress 34 * @since 1. 334 * @since 1.5 35 35 * 36 36 * @uses bp_get_root_blog_id() … … 49 49 * 50 50 * @package BuddyPress 51 * @since 1. 351 * @since 1.5 52 52 * 53 53 * @uses bp_get_root_blog_id() … … 74 74 * 75 75 * @package BuddyPress Core 76 * @since 1. 377 * 78 * @todo Remove the "Upgrading from an earlier version of BP pre-1. 3" block. Temporary measure for76 * @since 1.5 77 * 78 * @todo Remove the "Upgrading from an earlier version of BP pre-1.5" block. Temporary measure for 79 79 * people running trunk installations. Leave for a version or two, then remove. 80 80 */ … … 82 82 $page_ids = bp_get_option( 'bp-pages' ); 83 83 84 // Upgrading from an earlier version of BP pre-1. 384 // Upgrading from an earlier version of BP pre-1.5 85 85 if ( !isset( $page_ids['members'] ) && $ms_page_ids = get_site_option( 'bp-pages' ) ) { 86 86 $page_blog_id = bp_is_multiblog_mode() ? get_current_blog_id() : bp_get_root_blog_id(); … … 103 103 * 104 104 * @package BuddyPress Core 105 * @since 1. 3105 * @since 1.5 106 106 * 107 107 * @param array $blog_page_ids The IDs of the WP pages corresponding to BP component directories … … 115 115 * 116 116 * @package BuddyPress Core 117 * @since 1. 3117 * @since 1.5 118 118 * 119 119 * @return obj $pages Page names, IDs, and slugs … … 161 161 * Creates a default component slug from a WP page root_slug 162 162 * 163 * Since 1. 3, BP components get their root_slug (the slug used immediately163 * Since 1.5, BP components get their root_slug (the slug used immediately 164 164 * following the root domain) from the slug of a corresponding WP page. 165 165 * … … 176 176 * 177 177 * @package BuddyPress Core 178 * @since 1. 3178 * @since 1.5 179 179 * 180 180 * @param str $root_slug The root slug, which comes from $bp->pages->[component]->slug … … 256 256 * 257 257 * @package BuddyPress Core 258 * @since 1. 3258 * @since 1.5 259 259 * 260 260 * @global object $bp Global BuddyPress settings object … … 296 296 * 297 297 * @package BuddyPress Core 298 * @since 1. 3298 * @since 1.5 299 299 * 300 300 * @global object $bp Global BuddyPress settings object … … 921 921 * @global object $bp BuddyPress global settings 922 922 * @package BuddyPress Core 923 * @since 1. 3923 * @since 1.5 924 924 */ 925 925 function bp_embed_init() { … … 1101 1101 * 1102 1102 * @package BuddyPress 1103 * @since 1. 31103 * @since 1.5 1104 1104 * 1105 1105 * @param int $blog_id Optional. Defaults to the current blog id. … … 1125 1125 * 1126 1126 * @package BuddyPress 1127 * @since 1. 31127 * @since 1.5 1128 1128 * 1129 1129 * @param int $blog_id Optional. Defaults to the current blog id. … … 1173 1173 * 1174 1174 * @package BuddyPress 1175 * @since 1. 31175 * @since 1.5 1176 1176 * 1177 1177 * @uses apply_filters() Filter bp_get_user_meta_key to modify keys individually … … 1190 1190 * 1191 1191 * @package BuddyPress 1192 * @since 1. 31192 * @since 1.5 1193 1193 * 1194 1194 * @uses bp_get_user_meta_key() For a filterable version of the meta key … … 1211 1211 * 1212 1212 * @package BuddyPress 1213 * @since 1. 31213 * @since 1.5 1214 1214 * 1215 1215 * @uses bp_get_user_meta_key() For a filterable version of the meta key … … 1232 1232 * 1233 1233 * @package BuddyPress 1234 * @since 1. 31234 * @since 1.5 1235 1235 * 1236 1236 * @uses bp_get_user_meta_key() For a filterable version of the meta key … … 1249 1249 * 1250 1250 * @package BuddyPress 1251 * @since 1. 31251 * @since 1.5 1252 1252 * 1253 1253 * @uses apply_filters() Filter 'bp_is_username_compatibility_mode' to alter … … 1273 1273 * 1274 1274 * @package BuddyPress 1275 * @since 1. 31275 * @since 1.5 1276 1276 * 1277 1277 * @uses apply_filters() Filter 'bp_is_multiblog_mode' to alter … … 1285 1285 * Should we use the WP admin bar? 1286 1286 * 1287 * The WP Admin Bar, introduced in WP 3.1, is fully supported in BuddyPress as of BP 1. 3.1288 * 1289 * For the BP 1. 3development cycle, the BuddyBar will remain the default navigation for BP1287 * The WP Admin Bar, introduced in WP 3.1, is fully supported in BuddyPress as of BP 1.5. 1288 * 1289 * For the BP 1.5 development cycle, the BuddyBar will remain the default navigation for BP 1290 1290 * installations. In the future, this behavior will be changed, so that the WP Admin Bar is the 1291 1291 * default. 1292 1292 * 1293 1293 * @package BuddyPress 1294 * @since 1. 31294 * @since 1.5 1295 1295 * 1296 1296 * @uses apply_filters() Filter 'bp_use_wp_admin_bar' to alter … … 1305 1305 * 1306 1306 * @return bool False when activity embed support is disabled; true when enabled (default) 1307 * @since 1. 31307 * @since 1.5 1308 1308 */ 1309 1309 function bp_use_embed_in_activity() { … … 1315 1315 * 1316 1316 * @return bool False when activity replies embed support is disabled; true when enabled (default) 1317 * @since 1. 31317 * @since 1.5 1318 1318 */ 1319 1319 function bp_use_embed_in_activity_replies() { … … 1325 1325 * 1326 1326 * @return bool False when form post embed support is disabled; true when enabled (default) 1327 * @since 1. 31327 * @since 1.5 1328 1328 */ 1329 1329 function bp_use_embed_in_forum_posts() { … … 1335 1335 * 1336 1336 * @return bool False when form post embed support is disabled; true when enabled (default) 1337 * @since 1. 31337 * @since 1.5 1338 1338 */ 1339 1339 function bp_use_embed_in_private_messages() { … … 1345 1345 * 1346 1346 * @package BuddyPress 1347 * @since 1. 31347 * @since 1.5 1348 1348 * 1349 1349 * @param string $path … … 1359 1359 * 1360 1360 * @package BuddyPress 1361 * @since 1. 31361 * @since 1.5 1362 1362 * 1363 1363 * @param string $path … … 1437 1437 * @global WP_Query $wp_query WordPress query object 1438 1438 * @param string $redirect If 'remove_canonical_direct', remove WordPress' "helpful" redirect_canonical action. 1439 * @since 1. 31439 * @since 1.5 1440 1440 */ 1441 1441 function bp_do_404( $redirect = 'remove_canonical_direct' ) { -
trunk/bp-core/bp-core-loader.php
r4820 r4907 18 18 19 19 // Load deprecated functions 20 require( BP_PLUGIN_DIR . '/bp-core/deprecated/1. 3.php' );20 require( BP_PLUGIN_DIR . '/bp-core/deprecated/1.5.php' ); 21 21 22 22 // Load the WP admin bar. … … 74 74 $bp->deactivated_components = apply_filters( 'bp_deactivated_components', array_values( array_diff( array_values( array_merge( $bp->optional_components, $bp->required_components ) ), array_keys( $bp->active_components ) ) ) ); 75 75 76 // Pre 1. 3Backwards compatibility76 // Pre 1.5 Backwards compatibility 77 77 } elseif ( $deactivated_components = bp_get_option( 'bp-deactivated-components' ) ) { 78 78 // Trim off namespace and filename -
trunk/bp-core/bp-core-template.php
r4882 r4907 271 271 * @global object $bp BuddyPress global settings 272 272 * @return string 273 * @since 1. 3273 * @since 1.5 274 274 */ 275 275 function bp_search_default_text( $component = '' ) { … … 488 488 * 489 489 * @package BuddyPress 490 * @since 1. 3490 * @since 1.5 491 491 * 492 492 * @param int $position The key of the action_variables array that you want … … 521 521 * 522 522 * @package BuddyPress Core 523 * @since 1. 3523 * @since 1.5 524 524 */ 525 525 function bp_root_slug( $component = '' ) { … … 542 542 * 543 543 * @package BuddyPress Core 544 * @since 1. 3544 * @since 1.5 545 545 * 546 546 * @global object $bp Global BuddyPress settings object … … 612 612 * 613 613 * @package BuddyPress 614 * @since 1. 3614 * @since 1.5 615 615 * 616 616 * @uses bp_get_search_slug() … … 623 623 * 624 624 * @package BuddyPress 625 * @since 1. 3625 * @since 1.5 626 626 */ 627 627 function bp_get_search_slug() { … … 643 643 * 644 644 * @package BuddyPress Core 645 * @since 1. 3645 * @since 1.5 646 646 * @return bool Returns true if the component matches, or else false. 647 647 */ … … 720 720 * 721 721 * @package BuddyPress 722 * @since 1. 3722 * @since 1.5 723 723 * 724 724 * @param str $action The action being tested against … … 746 746 * 747 747 * @package BuddyPress 748 * @since 1. 3748 * @since 1.5 749 749 * 750 750 * @param str $action_variable The action_variable being tested against … … 849 849 * @param string $component Optional; Name of the component to check for. 850 850 * @return bool True If the specified component is set to be the site's front page. 851 * @since 1. 3851 * @since 1.5 852 852 */ 853 853 function bp_is_component_front_page( $component = '' ) { -
trunk/bp-core/deprecated/1.5.php
r4905 r4907 5 5 * @package BuddyPress 6 6 * @subpackage Core 7 * @deprecated Since 1. 37 * @deprecated Since 1.5 8 8 */ 9 9 … … 26 26 * Use is_multisite() instead. 27 27 * 28 * @deprecated 1. 328 * @deprecated 1.5 29 29 * @deprecated Use is_multisite() 30 30 */ 31 31 function bp_core_is_multisite() { 32 _deprecated_function( __FUNCTION__, '1. 3', 'is_multisite()' );32 _deprecated_function( __FUNCTION__, '1.5', 'is_multisite()' ); 33 33 return is_multisite(); 34 34 } … … 37 37 * bp_core_is_main_site 38 38 * 39 * Checks if current blog is root blog of site. Deprecated in 1. 3.40 * 41 * @deprecated 1. 339 * Checks if current blog is root blog of site. Deprecated in 1.5. 40 * 41 * @deprecated 1.5 42 42 * @deprecated Use is_main_site() 43 43 * @package BuddyPress … … 47 47 */ 48 48 function bp_core_is_main_site( $blog_id = '' ) { 49 _deprecated_function( __FUNCTION__, '1. 3', 'is_main_site()' );49 _deprecated_function( __FUNCTION__, '1.5', 'is_main_site()' ); 50 50 return is_main_site( $blog_id ); 51 51 } … … 55 55 /** 56 56 * In BuddyPress 1.1 - 1.2.x, this function provided a better version of add_menu_page() 57 * that allowed positioning of menus. Deprecated in 1. 3in favour of a WP core function.58 * 59 * @deprecated 1. 357 * that allowed positioning of menus. Deprecated in 1.5 in favour of a WP core function. 58 * 59 * @deprecated 1.5 60 60 * @deprecated Use add_menu_page(). 61 61 * @since 1.1 … … 75 75 extract( $r, EXTR_SKIP ); 76 76 77 _deprecated_function( __FUNCTION__, '1. 3', 'Use add_menu_page()' );77 _deprecated_function( __FUNCTION__, '1.5', 'Use add_menu_page()' ); 78 78 return add_menu_page( $page_title, $menu_title, $capability, $file, $function, $icon_url, $position ); 79 79 } … … 82 82 83 83 function bp_is_activity_permalink() { 84 _deprecated_function( __FUNCTION__, '1. 3', 'bp_is_single_activity' );84 _deprecated_function( __FUNCTION__, '1.5', 'bp_is_single_activity' ); 85 85 bp_is_single_activity(); 86 86 } … … 89 89 90 90 function bp_core_get_wp_profile() { 91 _deprecated_function( __FUNCTION__, '1. 3' );91 _deprecated_function( __FUNCTION__, '1.5' ); 92 92 93 93 global $bp; … … 161 161 162 162 function bp_is_home() { 163 _deprecated_function( __FUNCTION__, '1. 3', 'bp_is_my_profile' );163 _deprecated_function( __FUNCTION__, '1.5', 'bp_is_my_profile' ); 164 164 return bp_is_my_profile(); 165 165 } … … 168 168 * Is the user on the front page of the site? 169 169 * 170 * @deprecated 1. 3170 * @deprecated 1.5 171 171 * @deprecated Use is_front_page() 172 172 * @return bool 173 173 */ 174 174 function bp_is_front_page() { 175 _deprecated_function( __FUNCTION__, '1. 3', "is_front_page()" );175 _deprecated_function( __FUNCTION__, '1.5', "is_front_page()" ); 176 176 return is_front_page(); 177 177 } … … 180 180 * Is the front page of the site set to the Activity component? 181 181 * 182 * @deprecated 1. 3182 * @deprecated 1.5 183 183 * @deprecated Use bp_is_component_front_page( 'activity' ) 184 184 * @return bool 185 185 */ 186 186 function bp_is_activity_front_page() { 187 _deprecated_function( __FUNCTION__, '1. 3', "bp_is_component_front_page( 'activity' )" );187 _deprecated_function( __FUNCTION__, '1.5', "bp_is_component_front_page( 'activity' )" ); 188 188 return bp_is_component_front_page( 'activity' ); 189 189 } 190 190 191 191 function bp_is_member() { 192 _deprecated_function( __FUNCTION__, '1. 3', 'bp_is_user' );192 _deprecated_function( __FUNCTION__, '1.5', 'bp_is_user' ); 193 193 bp_is_user(); 194 194 } 195 195 196 196 function bp_loggedinuser_link() { 197 _deprecated_function( __FUNCTION__, '1. 3', 'bp_logged_in_user_link' );197 _deprecated_function( __FUNCTION__, '1.5', 'bp_logged_in_user_link' ); 198 198 bp_loggedin_user_link(); 199 199 } … … 201 201 /** 202 202 * Only show the search form if there are available objects to search for. 203 * Deprecated in 1. 3; not used anymore.203 * Deprecated in 1.5; not used anymore. 204 204 * 205 205 * @return bool 206 206 */ 207 207 function bp_search_form_enabled() { 208 _deprecated_function( __FUNCTION__, '1. 3', 'No longer required.' );208 _deprecated_function( __FUNCTION__, '1.5', 'No longer required.' ); 209 209 return apply_filters( 'bp_search_form_enabled', true ); 210 210 } … … 213 213 * Template tag version of bp_get_page_title() 214 214 * 215 * @deprecated 1. 3215 * @deprecated 1.5 216 216 * @deprecated Use wp_title() 217 217 * @since 1.0 … … 221 221 } 222 222 /** 223 * Prior to BuddyPress 1. 3, this was used to generate the page's <title> text.223 * Prior to BuddyPress 1.5, this was used to generate the page's <title> text. 224 224 * Now, just simply use wp_title(). 225 225 * 226 * @deprecated 1. 3226 * @deprecated 1.5 227 227 * @deprecated Use wp_title() 228 228 * @since 1.0 229 229 */ 230 230 function bp_get_page_title() { 231 _deprecated_function( __FUNCTION__, '1. 3', 'wp_title()' );231 _deprecated_function( __FUNCTION__, '1.5', 'wp_title()' ); 232 232 $title = wp_title( '|', false, 'right' ) . get_bloginfo( 'name', 'display' ); 233 233 … … 241 241 * Generate a link to log out. Last used in BP 1.2-beta. You should be using wp_logout_url(). 242 242 * 243 * @deprecated 1. 3243 * @deprecated 1.5 244 244 * @deprecated Use wp_logout_url() 245 245 * @since 1.0 246 246 */ 247 247 function bp_log_out_link() { 248 _deprecated_function( __FUNCTION__, '1. 3', 'wp_logout_url()' );248 _deprecated_function( __FUNCTION__, '1.5', 'wp_logout_url()' ); 249 249 250 250 $logout_link = '<a href="' . wp_logout_url( bp_get_root_domain() ) . '">' . __( 'Log Out', 'buddypress' ) . '</a>'; … … 255 255 * Send an email and a BP notification on receipt of an @-mention in a group 256 256 * 257 * @deprecated 1. 3257 * @deprecated 1.5 258 258 * @deprecated Deprecated in favor of the more general bp_activity_at_message_notification() 259 259 */ … … 261 261 global $bp; 262 262 263 _deprecated_function( __FUNCTION__, '1. 3', 'bp_activity_at_message_notification()' );263 _deprecated_function( __FUNCTION__, '1.5', 'bp_activity_at_message_notification()' ); 264 264 265 265 /* Scan for @username strings in an activity update. Notify each user. */ … … 322 322 323 323 /** 324 * BP 1. 3simplified notification functions a bit324 * BP 1.5 simplified notification functions a bit 325 325 */ 326 326 function bp_core_delete_notifications_for_user_by_type( $user_id, $component_name, $component_action ) { 327 _deprecated_function( __FUNCTION__, '1. 3', 'bp_core_delete_notifications_by_type()' );327 _deprecated_function( __FUNCTION__, '1.5', 'bp_core_delete_notifications_by_type()' ); 328 328 return BP_Core_Notification::delete_for_user_by_type( $user_id, $component_name, $component_action ); 329 329 } 330 330 331 331 function bp_core_delete_notifications_for_user_by_item_id( $user_id, $item_id, $component_name, $component_action, $secondary_item_id = false ) { 332 _deprecated_function( __FUNCTION__, '1. 3', 'bp_core_delete_notifications_by_item_id()' );332 _deprecated_function( __FUNCTION__, '1.5', 'bp_core_delete_notifications_by_item_id()' ); 333 333 return BP_Core_Notification::delete_for_user_by_item_id( $user_id, $item_id, $component_name, $component_action, $secondary_item_id ); 334 334 } 335 335 336 336 /** 337 * In BP 1. 3, these functions were renamed for greater consistency337 * In BP 1.5, these functions were renamed for greater consistency 338 338 */ 339 339 function bp_forum_directory_permalink() { 340 _deprecated_function( __FUNCTION__, '1. 3', 'bp_forums_directory_permalink()' );340 _deprecated_function( __FUNCTION__, '1.5', 'bp_forums_directory_permalink()' ); 341 341 bp_forums_directory_permalink(); 342 342 } 343 343 function bp_get_forum_directory_permalink() { 344 _deprecated_function( __FUNCTION__, '1. 3', 'bp_get_forums_directory_permalink()' );344 _deprecated_function( __FUNCTION__, '1.5', 'bp_get_forums_directory_permalink()' ); 345 345 return bp_get_forums_directory_permalink(); 346 346 } … … 350 350 /** 351 351 * Contains functions which were moved out of BP-Default's functions.php 352 * in BuddyPress 1. 3.353 * 354 * @since 1. 3352 * in BuddyPress 1.5. 353 * 354 * @since 1.5 355 355 */ 356 356 function bp_dtheme_deprecated() { … … 359 359 * In BuddyPress 1.2.x, this function filtered the dropdown on the 360 360 * Settings > Reading screen for selecting the page to show on front to 361 * include "Activity Stream." As of 1. 3.x, it is no longer required.362 * 363 * @deprecated 1. 3361 * include "Activity Stream." As of 1.5.x, it is no longer required. 362 * 363 * @deprecated 1.5 364 364 * @deprecated No longer required. 365 365 * @param string $page_html A list of pages as a dropdown (select list) … … 369 369 */ 370 370 function bp_dtheme_wp_pages_filter( $page_html ) { 371 _deprecated_function( __FUNCTION__, '1. 3', "No longer required." );371 _deprecated_function( __FUNCTION__, '1.5', "No longer required." ); 372 372 return $page_html; 373 373 } … … 377 377 /** 378 378 * In BuddyPress 1.2.x, this function hijacked the saving of page on front setting to save the activity stream setting. 379 * As of 1. 3.x, it is no longer required.380 * 381 * @deprecated 1. 3379 * As of 1.5.x, it is no longer required. 380 * 381 * @deprecated 1.5 382 382 * @deprecated No longer required. 383 383 * @param $string $oldvalue Previous value of get_option( 'page_on_front' ) … … 387 387 */ 388 388 function bp_dtheme_page_on_front_update( $oldvalue, $newvalue ) { 389 _deprecated_function( __FUNCTION__, '1. 3', "No longer required." );389 _deprecated_function( __FUNCTION__, '1.5', "No longer required." ); 390 390 if ( !is_admin() || !is_super_admin() ) 391 391 return false; … … 398 398 /** 399 399 * In BuddyPress 1.2.x, this function loaded the activity stream template if the front page display settings allow. 400 * As of 1. 3.x, it is no longer required.401 * 402 * @deprecated 1. 3400 * As of 1.5.x, it is no longer required. 401 * 402 * @deprecated 1.5 403 403 * @deprecated No longer required. 404 404 * @param string $template Absolute path to the page template … … 407 407 */ 408 408 function bp_dtheme_page_on_front_template( $template ) { 409 _deprecated_function( __FUNCTION__, '1. 3', "No longer required." );409 _deprecated_function( __FUNCTION__, '1.5', "No longer required." ); 410 410 return $template; 411 411 } … … 415 415 /** 416 416 * In BuddyPress 1.2.x, this forced the page ID as a string to stop the get_posts query from kicking up a fuss. 417 * As of 1. 3.x, it is no longer required.418 * 419 * @deprecated 1. 3417 * As of 1.5.x, it is no longer required. 418 * 419 * @deprecated 1.5 420 420 * @deprecated No longer required. 421 421 * @since 1.2 422 422 */ 423 423 function bp_dtheme_fix_get_posts_on_activity_front() { 424 _deprecated_function( __FUNCTION__, '1. 3', "No longer required." );424 _deprecated_function( __FUNCTION__, '1.5', "No longer required." ); 425 425 } 426 426 endif; … … 429 429 /** 430 430 * In BuddyPress 1.2.x, this was used as part of the code that set the activity stream to be on the front page. 431 * As of 1. 3.x, it is no longer required.432 * 433 * @deprecated 1. 3431 * As of 1.5.x, it is no longer required. 432 * 433 * @deprecated 1.5 434 434 * @deprecated No longer required. 435 435 * @param array $posts Posts as retrieved by WP_Query … … 438 438 */ 439 439 function bp_dtheme_fix_the_posts_on_activity_front( $posts ) { 440 _deprecated_function( __FUNCTION__, '1. 3', "No longer required." );440 _deprecated_function( __FUNCTION__, '1.5', "No longer required." ); 441 441 return $posts; 442 442 } … … 446 446 /** 447 447 * In BuddyPress 1.2.x, this added the javascript needed for blog comment replies. 448 * As of 1. 3.x, we recommend that you enqueue the comment-reply javascript in your theme's header.php.449 * 450 * @deprecated 1. 3448 * As of 1.5.x, we recommend that you enqueue the comment-reply javascript in your theme's header.php. 449 * 450 * @deprecated 1.5 451 451 * @deprecated Enqueue the comment-reply script in your theme's header.php. 452 452 * @since 1.2 453 453 */ 454 454 function bp_dtheme_add_blog_comments_js() { 455 _deprecated_function( __FUNCTION__, '1. 3', "Enqueue the comment-reply script in your theme's header.php." );455 _deprecated_function( __FUNCTION__, '1.5', "Enqueue the comment-reply script in your theme's header.php." ); 456 456 if ( is_singular() && bp_is_blog_page() && get_option( 'thread_comments' ) ) 457 457 wp_enqueue_script( 'comment-reply' ); -
trunk/bp-forums/bp-forums-filters.php
r4846 r4907 149 149 * 150 150 * @package BuddyPress 151 * @since 1. 3151 * @since 1.5 152 152 * 153 153 * @global object $wpdb The WordPress database global … … 169 169 * 170 170 * @package BuddyPress 171 * @since 1. 3171 * @since 1.5 172 172 * 173 173 * @global object $bbdb The bbPress database global … … 190 190 * 191 191 * @package BuddyPress 192 * @since 1. 3192 * @since 1.5 193 193 * 194 194 * @global object $wpdb The WordPress database global -
trunk/bp-forums/bp-forums-functions.php
r4821 r4907 15 15 * Checks $bp pages global and looks for directory page 16 16 * 17 * @since 1. 317 * @since 1.5 18 18 * 19 19 * @global object $bp Global BuddyPress settings object … … 497 497 * 498 498 * @package BuddyPress 499 * @since 1. 3499 * @since 1.5 500 500 * 501 501 * @return int … … 512 512 * 513 513 * @package BuddyPress 514 * @since 1. 3514 * @since 1.5 515 515 * 516 516 * @return bool True if stickies should be displayed at the top of the global directory, false … … 545 545 * @see bp_embed_forum_save_cache() 546 546 * @package BuddyPress_Forums 547 * @since 1. 3547 * @since 1.5 548 548 */ 549 549 function bp_forums_embed() { … … 559 559 * 560 560 * @package BuddyPress_Forums 561 * @since 1. 3561 * @since 1.5 562 562 */ 563 563 function bp_embed_forum_cache( $cache, $id, $cachekey ) { … … 570 570 * 571 571 * @package BuddyPress_Forums 572 * @since 1. 3572 * @since 1.5 573 573 */ 574 574 function bp_embed_forum_save_cache( $cache, $cachekey, $id ) { -
trunk/bp-forums/bp-forums-loader.php
r4821 r4907 17 17 * Start the forums component creation process 18 18 * 19 * @since BuddyPress 1.319 * @since 1.5 20 20 */ 21 21 function __construct() { … … 33 33 * backwards compatibility. 34 34 * 35 * @since BuddyPress 1.335 * @since 1.5 36 36 * @global obj $bp 37 37 */ -
trunk/bp-forums/bp-forums-template.php
r4846 r4907 8 8 * @package BuddyPress 9 9 * @subpackage Forums Template 10 * @since BuddyPress 1.310 * @since 1.5 11 11 * 12 12 * @uses bp_get_forums_slug() … … 20 20 * @package BuddyPress 21 21 * @subpackage Forums Template 22 * @since BuddyPress 1.322 * @since 1.5 23 23 */ 24 24 function bp_get_forums_slug() { … … 32 32 * @package BuddyPress 33 33 * @subpackage Forums Template 34 * @since BuddyPress 1.334 * @since 1.5 35 35 * 36 36 * @uses bp_get_forums_root_slug() … … 44 44 * @package BuddyPress 45 45 * @subpackage Forums Template 46 * @since BuddyPress 1.346 * @since 1.5 47 47 */ 48 48 function bp_get_forums_root_slug() { … … 56 56 * @package BuddyPress 57 57 * @subpackage Forums Template 58 * @since 1. 358 * @since 1.5 59 59 * @uses bp_get_forums_directory_permalink() 60 60 */ … … 67 67 * @package BuddyPress 68 68 * @subpackage Forums Template 69 * @since 1. 369 * @since 1.5 70 70 * @uses apply_filters() 71 71 * @uses traisingslashit() … … 1319 1319 * 1320 1320 * @package BuddyPress 1321 * @since 1. 31321 * @since 1.5 1322 1322 */ 1323 1323 function bp_forum_topic_tag_list() { … … 1328 1328 * 1329 1329 * @package BuddyPress 1330 * @since 1. 31330 * @since 1.5 1331 1331 * 1332 1332 * @param str $format 'string' returns comma-separated string; otherwise returns array … … 1356 1356 * 1357 1357 * @package BuddyPress 1358 * @since 1. 31358 * @since 1.5 1359 1359 * 1360 1360 * @return bool -
trunk/bp-friends/bp-friends-loader.php
r4822 r4907 17 17 * Start the friends component creation process 18 18 * 19 * @since BuddyPress 1.319 * @since 1.5 20 20 */ 21 21 function __construct() { … … 52 52 * backwards compatibility. 53 53 * 54 * @since BuddyPress 1.354 * @since 1.5 55 55 * @global obj $bp 56 56 */ -
trunk/bp-friends/bp-friends-template.php
r4845 r4907 8 8 * @package BuddyPress 9 9 * @subpackage Friends Template 10 * @since BuddyPress 1.310 * @since 1.5 11 11 * 12 12 * @uses bp_get_friends_slug() … … 20 20 * @package BuddyPress 21 21 * @subpackage Friends Template 22 * @since BuddyPress 1.322 * @since 1.5 23 23 */ 24 24 function bp_get_friends_slug() { … … 32 32 * @package BuddyPress 33 33 * @subpackage Friends Template 34 * @since BuddyPress 1.334 * @since 1.5 35 35 * 36 36 * @uses bp_get_friends_root_slug() … … 44 44 * @package BuddyPress 45 45 * @subpackage Friends Template 46 * @since BuddyPress 1.346 * @since 1.5 47 47 */ 48 48 function bp_get_friends_root_slug() { -
trunk/bp-groups/bp-groups-adminbar.php
r4823 r4907 16 16 * 17 17 * @package BuddyPress 18 * @since 1. 318 * @since 1.5 19 19 * 20 20 * @todo Add dynamic menu items for group extensions -
trunk/bp-groups/bp-groups-classes.php
r4844 r4907 604 604 * 605 605 * @package BuddyPress 606 * @since 1. 3606 * @since 1.5 607 607 * 608 608 * @param str $status 'public', 'private', 'hidden', 'all' Which group types to count -
trunk/bp-groups/bp-groups-filters.php
r4823 r4907 147 147 * 148 148 * @see BB_Query::_filter_sql() 149 * @since 1. 3149 * @since 1.5 150 150 */ 151 151 function groups_filter_forums_root_page_sql( $sql ) { -
trunk/bp-groups/bp-groups-forums.php
r4823 r4907 255 255 * 256 256 * @package BuddyPress 257 * @since 1. 3257 * @since 1.5 258 258 * 259 259 * @param str $status 'public', 'private', 'hidden', 'all' Which group types to count -
trunk/bp-groups/bp-groups-functions.php
r4823 r4907 13 13 * Checks $bp pages global and looks for directory page 14 14 * 15 * @since 1. 315 * @since 1.5 16 16 * 17 17 * @global object $bp Global BuddyPress settings object … … 421 421 * 422 422 * @package BuddyPress 423 * @since 1. 3423 * @since 1.5 424 424 * 425 425 * @return obj The current group object -
trunk/bp-groups/bp-groups-loader.php
r4844 r4907 19 19 * Start the groups component creation process 20 20 * 21 * @since BuddyPress 1.321 * @since 1.5 22 22 */ 23 23 function __construct() { … … 57 57 * backwards compatibility. 58 58 * 59 * @since BuddyPress 1.359 * @since 1.5 60 60 * @global obj $bp 61 61 */ -
trunk/bp-groups/bp-groups-template.php
r4889 r4907 8 8 * @package BuddyPress 9 9 * @subpackage Groups Template 10 * @since BuddyPress 1.310 * @since 1.5 11 11 * 12 12 * @uses bp_get_groups_slug() … … 20 20 * @package BuddyPress 21 21 * @subpackage Groups Template 22 * @since BuddyPress 1.322 * @since 1.5 23 23 */ 24 24 function bp_get_groups_slug() { … … 32 32 * @package BuddyPress 33 33 * @subpackage Groups Template 34 * @since BuddyPress 1.334 * @since 1.5 35 35 * 36 36 * @uses bp_get_groups_root_slug() … … 44 44 * @package BuddyPress 45 45 * @subpackage Groups Template 46 * @since BuddyPress 1.346 * @since 1.5 47 47 */ 48 48 function bp_get_groups_root_slug() { … … 56 56 * @package BuddyPress 57 57 * @subpackage Groups Template 58 * @since 1. 358 * @since 1.5 59 59 * @uses bp_get_groups_directory_permalink() 60 60 */ … … 67 67 * @package BuddyPress 68 68 * @subpackage Groups Template 69 * @since 1. 369 * @since 1.5 70 70 * @uses apply_filters() 71 71 * @uses traisingslashit() … … 612 612 * 613 613 * @package BuddyPress 614 * @since 1. 3614 * @since 1.5 615 615 * 616 616 * @param obj $group (optional) The group being queried. Defaults to the current group in the loop … … 642 642 * 643 643 * @package BuddyPress 644 * @since 1. 3644 * @since 1.5 645 645 * 646 646 * @param obj $group (optional) The group being queried. Defaults to the current group in the loop … … 892 892 * @package BuddyPress 893 893 * @subpackage Groups Template 894 * @since 1. 3894 * @since 1.5 895 895 * 896 896 * @param str $setting The setting you want to check against ('members', 'mods', or 'admins') … … 909 909 * Get the invite status of a group 910 910 * 911 * 'invite_status' became part of BuddyPress in BP 1. 3. In order to provide backward compatibility,911 * 'invite_status' became part of BuddyPress in BP 1.5. In order to provide backward compatibility, 912 912 * groups without a status set will default to 'members', ie all members in a group can send 913 913 * invitations. Filter 'bp_group_invite_status_fallback' to change this fallback behavior. … … 917 917 * @package BuddyPress 918 918 * @subpackage Groups Template 919 * @since 1. 3919 * @since 1.5 920 920 * 921 921 * @param int $group_id (optional) The id of the group whose status you want to check … … 953 953 * @package BuddyPress 954 954 * @subpackage Groups Template 955 * @since 1. 3955 * @since 1.5 956 956 * 957 957 * @param int $group_id (optional) The id of the group whose status you want to check … … 1006 1006 /** 1007 1007 * Since BuddyPress 1.0, this generated the group settings admin/member screen. 1008 * As of BuddyPress 1. 3(r4489), and because this function outputs HTML, it was moved into /bp-default/groups/single/admin.php.1009 * 1010 * @deprecated 1. 31008 * As of BuddyPress 1.5 (r4489), and because this function outputs HTML, it was moved into /bp-default/groups/single/admin.php. 1009 * 1010 * @deprecated 1.5 1011 1011 * @deprecated No longer used. 1012 1012 * @since 1.0 … … 1016 1016 global $groups_template; 1017 1017 1018 _deprecated_function( __FUNCTION__, '1. 3', 'No longer used. See /bp-default/groups/single/admin.php' );1018 _deprecated_function( __FUNCTION__, '1.5', 'No longer used. See /bp-default/groups/single/admin.php' ); 1019 1019 1020 1020 if ( empty( $group ) ) … … 1375 1375 * @param int $user_id 1376 1376 * @return bool If user is banned from the group or not 1377 * @since 1. 31377 * @since 1.5 1378 1378 */ 1379 1379 function bp_group_is_user_banned( $group = false, $user_id = 0 ) { … … 1954 1954 * 1955 1955 * @package BuddyPress Groups 1956 * @since BuddyPress 1.31956 * @since 1.5 1957 1957 * 1958 1958 * @uses apply_filters() To call 'bp_user_can_create_groups'. … … 2724 2724 * Hook group activity feed to <head> 2725 2725 * 2726 * @since 1. 32726 * @since 1.5 2727 2727 */ 2728 2728 function bp_groups_activity_feed() { … … 2749 2749 * 2750 2750 * @package BuddyPress 2751 * @since 1. 32751 * @since 1.5 2752 2752 */ 2753 2753 function bp_current_group_id() { … … 2758 2758 * 2759 2759 * @package BuddyPress 2760 * @since 1. 32760 * @since 1.5 2761 2761 * @uses apply_filters() Filter bp_get_current_group_id to modify this output 2762 2762 * … … 2775 2775 * 2776 2776 * @package BuddyPress 2777 * @since 1. 32777 * @since 1.5 2778 2778 */ 2779 2779 function bp_current_group_slug() { … … 2784 2784 * 2785 2785 * @package BuddyPress 2786 * @since 1. 32786 * @since 1.5 2787 2787 * @uses apply_filters() Filter bp_get_current_group_slug to modify this output 2788 2788 * … … 2809 2809 * 2810 2810 * @package BuddyPress 2811 * @since 1. 32811 * @since 1.5 2812 2812 * @uses apply_filters() Filter bp_get_current_group_name to modify this output 2813 2813 * -
trunk/bp-members/bp-members-adminbar.php
r4824 r4907 73 73 * 74 74 * @package BuddyPress 75 * @since 1. 375 * @since 1.5 76 76 */ 77 77 function bp_members_admin_bar_user_admin_menu() { … … 154 154 * 155 155 * @package Buddypress 156 * @since 1. 3156 * @since 1.5 157 157 */ 158 158 function bp_members_admin_bar_notifications_menu() { -
trunk/bp-members/bp-members-functions.php
r4824 r4907 15 15 * Checks $bp pages global and looks for directory page 16 16 * 17 * @since 1. 317 * @since 1.5 18 18 * 19 19 * @global object $bp Global BuddyPress settings object … … 270 270 * slug to a user is needed. 271 271 * 272 * @since BuddyPress (1. 3)272 * @since BuddyPress (1.5) 273 273 * 274 274 * @package BuddyPress Core -
trunk/bp-members/bp-members-loader.php
r4882 r4907 17 17 * Start the members component creation process 18 18 * 19 * @since BuddyPress 1.319 * @since 1.5 20 20 */ 21 21 function __construct() { … … 53 53 * backwards compatibility. 54 54 * 55 * @since BuddyPress 1.355 * @since 1.5 56 56 * @global obj $bp 57 57 */ -
trunk/bp-members/bp-members-notifications.php
r4824 r4907 73 73 continue; 74 74 75 // @deprecated format_notification_function - 1. 375 // @deprecated format_notification_function - 1.5 76 76 if ( isset( $bp->{$component_name}->format_notification_function ) && function_exists( $bp->{$component_name}->format_notification_function ) ) { 77 77 $renderable[] = call_user_func( $bp->{$component_name}->format_notification_function, $component_action_name, $component_action_items[0]->item_id, $component_action_items[0]->secondary_item_id, $action_item_count ); -
trunk/bp-members/bp-members-template.php
r4890 r4907 17 17 * @package BuddyPress 18 18 * @subpackage Members Template 19 * @since BuddyPress 1.319 * @since 1.5 20 20 * 21 21 * @uses bp_get_members_slug() … … 29 29 * @package BuddyPress 30 30 * @subpackage Members Template 31 * @since BuddyPress 1.331 * @since 1.5 32 32 */ 33 33 function bp_get_members_slug() { … … 41 41 * @package BuddyPress 42 42 * @subpackage Members Template 43 * @since BuddyPress 1.343 * @since 1.5 44 44 * 45 45 * @uses bp_get_members_root_slug() … … 53 53 * @package BuddyPress 54 54 * @subpackage Members Template 55 * @since BuddyPress 1.355 * @since 1.5 56 56 */ 57 57 function bp_get_members_root_slug() { … … 65 65 * @package BuddyPress 66 66 * @subpackage Members Template 67 * @since 1. 367 * @since 1.5 68 68 * @uses bp_get_members_directory_permalink() 69 69 */ … … 76 76 * @package BuddyPress 77 77 * @subpackage Members Template 78 * @since 1. 378 * @since 1.5 79 79 * @uses apply_filters() 80 80 * @uses traisingslashit() … … 92 92 * @package BuddyPress 93 93 * @subpackage Members Template 94 * @since BuddyPress 1.394 * @since 1.5 95 95 * 96 96 * @uses bp_get_signup_slug() … … 104 104 * @package BuddyPress 105 105 * @subpackage Members Template 106 * @since BuddyPress 1.3106 * @since 1.5 107 107 */ 108 108 function bp_get_signup_slug() { … … 124 124 * @package BuddyPress 125 125 * @subpackage Members Template 126 * @since BuddyPress 1.3126 * @since 1.5 127 127 * 128 128 * @uses bp_get_activate_slug() … … 136 136 * @package BuddyPress 137 137 * @subpackage Members Template 138 * @since BuddyPress 1.3138 * @since 1.5 139 139 */ 140 140 function bp_get_activate_slug() { … … 1119 1119 * Hook member activity feed to <head> 1120 1120 * 1121 * @since 1. 31121 * @since 1.5 1122 1122 */ 1123 1123 function bp_members_activity_feed() { -
trunk/bp-messages/bp-messages-loader.php
r4825 r4907 17 17 * Start the messages component creation process 18 18 * 19 * @since BuddyPress 1.319 * @since 1.5 20 20 */ 21 21 function __construct() { … … 52 52 * backwards compatibility. 53 53 * 54 * @since BuddyPress 1.354 * @since 1.5 55 55 * @global obj $bp 56 56 */ -
trunk/bp-messages/bp-messages-template.php
r4842 r4907 506 506 * @package BuddyPress 507 507 * @subpackage Messages Template 508 * @since BuddyPress 1.3508 * @since 1.5 509 509 * 510 510 * @uses bp_get_messages_slug() … … 518 518 * @package BuddyPress 519 519 * @subpackage Messages Template 520 * @since BuddyPress 1.3520 * @since 1.5 521 521 */ 522 522 function bp_get_messages_slug() { … … 870 870 * Enable oembed support for Messages. 871 871 * 872 * There's no caching as BP 1. 3does not have a Messages meta API.872 * There's no caching as BP 1.5 does not have a Messages meta API. 873 873 * 874 874 * @see BP_Embed 875 * @since 1. 3875 * @since 1.5 876 876 * @todo Add Messages meta? 877 877 */ -
trunk/bp-settings/bp-settings-loader.php
r4826 r4907 8 8 * Start the settings component creation process 9 9 * 10 * @since BuddyPress 1.310 * @since 1.5 11 11 */ 12 12 function __construct() { … … 41 41 * backwards compatibility. 42 42 * 43 * @since BuddyPress 1.343 * @since 1.5 44 44 * @global obj $bp 45 45 */ -
trunk/bp-settings/bp-settings-template.php
r4826 r4907 15 15 * @package BuddyPress 16 16 * @subpackage Settings Template 17 * @since BuddyPress 1.317 * @since 1.5 18 18 * 19 19 * @uses bp_get_settings_slug() … … 27 27 * @package BuddyPress 28 28 * @subpackage Settings Template 29 * @since BuddyPress 1.329 * @since 1.5 30 30 */ 31 31 function bp_get_settings_slug() { … … 39 39 * @package BuddyPress 40 40 * @subpackage Settings Template 41 * @since BuddyPress 1.341 * @since 1.5 42 42 * 43 43 * @uses bp_get_settings_root_slug() … … 51 51 * @package BuddyPress 52 52 * @subpackage Settings Template 53 * @since BuddyPress 1.353 * @since 1.5 54 54 */ 55 55 function bp_get_settings_root_slug() { -
trunk/bp-themes/bp-default/_inc/ajax.php
r4770 r4907 327 327 * 328 328 * @package BuddyPress 329 * @since 1. 3329 * @since 1.5 330 330 */ 331 331 function bp_dtheme_get_single_activity_content() { -
trunk/bp-themes/bp-default/functions.php
r4893 r4907 56 56 * 57 57 * @global object $bp Global BuddyPress settings object 58 * @since 1. 358 * @since 1.5 59 59 */ 60 60 function bp_dtheme_setup() { … … 132 132 * 133 133 * @see http://codex.wordpress.org/Function_Reference/wp_enqueue_script 134 * @since 1. 3134 * @since 1.5 135 135 */ 136 136 function bp_dtheme_enqueue_scripts() { … … 164 164 * 165 165 * @see http://codex.wordpress.org/Function_Reference/wp_enqueue_style 166 * @since 1. 3166 * @since 1.5 167 167 */ 168 168 function bp_dtheme_enqueue_styles() { … … 247 247 * 248 248 * @see _custom_background_cb() 249 * @since 1. 3249 * @since 1.5 250 250 */ 251 251 function bp_dtheme_custom_background_style() { … … 337 337 * function tied to the init hook. 338 338 * 339 * @since 1. 3339 * @since 1.5 340 340 */ 341 341 function bp_dtheme_widgets_init() { … … 552 552 * @param array Menu arguments from wp_nav_menu() 553 553 * @see wp_nav_menu() 554 * @since 1. 3554 * @since 1.5 555 555 */ 556 556 function bp_dtheme_main_nav( $args ) { … … 577 577 * @param array $args Default values for wp_page_menu() 578 578 * @see wp_page_menu() 579 * @since 1. 3579 * @since 1.5 580 580 */ 581 581 function bp_dtheme_page_menu_args( $args ) { … … 593 593 * @param array $default_labels The default options for strings, fields etc in the form 594 594 * @see comment_form() 595 * @since 1. 3595 * @since 1.5 596 596 */ 597 597 function bp_dtheme_comment_form( $default_labels ) { … … 631 631 * 632 632 * @see comment_form() 633 * @since 1. 3633 * @since 1.5 634 634 */ 635 635 function bp_dtheme_before_comment_form() { … … 659 659 * @see bp_dtheme_before_comment_form() 660 660 * @see comment_form() 661 * @since 1. 3661 * @since 1.5 662 662 */ 663 663 function bp_dtheme_after_comment_form() { … … 675 675 * Adds a hidden "redirect_to" input field to the sidebar login form. 676 676 * 677 * @since 1. 3677 * @since 1.5 678 678 */ 679 679 function bp_dtheme_sidebar_login_redirect_to() { … … 691 691 * @global unknown $wp_query 692 692 * @param string $nav_id DOM ID for this navigation 693 * @since 1. 3693 * @since 1.5 694 694 */ 695 695 function bp_dtheme_content_nav( $nav_id ) { -
trunk/bp-themes/bp-default/onecolumn-page.php
r4426 r4907 7 7 * @package BuddyPress 8 8 * @subpackage BP_Default 9 * @since 1. 39 * @since 1.5 10 10 */ 11 11 -
trunk/bp-themes/bp-default/rtl.css
r4542 r4907 3 3 * Theme URI: http://buddypress.org/extend/themes/ 4 4 * Description: Clean and stylish, BuddyPress Default lets you build a social network straight out of the box. Make it yours with a custom menu, header image, and background. Along with five widgetized areas (one in the sidebar, four in the footer), BP-Default supports featured images (as custom header images on posts and pages) and is furnished with an optional one-column page template that removes the sidebar, and a stylesheet for the admin Visual Editor. 5 * Version: 1. 3-bleeding5 * Version: 1.5-beta-1 6 6 * Author: the BuddyPress team 7 7 * Author URI: http://buddypress.org -
trunk/bp-xprofile/bp-xprofile-functions.php
r4827 r4907 587 587 * 588 588 * @package BuddyPress 589 * @since 1. 3589 * @since 1.5 590 590 * 591 591 * @return str The field name -
trunk/bp-xprofile/bp-xprofile-loader.php
r4827 r4907 18 18 * Start the xprofile component creation process 19 19 * 20 * @since BuddyPress 1.320 * @since 1.5 21 21 */ 22 22 function __construct() { … … 57 57 * backwards compatibility. 58 58 * 59 * @since BuddyPress 1.359 * @since 1.5 60 60 * @global obj $bp 61 61 */
Note: See TracChangeset
for help on using the changeset viewer.