Changeset 4907 for trunk/bp-core/bp-core-functions.php
- Timestamp:
- 07/30/2011 02:00:16 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/bp-core-functions.php (modified) (28 diffs)
Legend:
- Unmodified
- Added
- Removed
-
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' ) {
Note: See TracChangeset
for help on using the changeset viewer.