Changeset 13468 for trunk/src/bp-core/deprecated/12.0.php
- Timestamp:
- 05/03/2023 06:18:23 AM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/deprecated/12.0.php
r13449 r13468 14 14 // These functions has been moved to the BP Classic plugin. 15 15 if ( ! function_exists( 'bp_classic' ) ) { 16 /** 17 * Analyze the URI and break it down into BuddyPress-usable chunks. 18 * 19 * BuddyPress can use complete custom friendly URIs without the user having to 20 * add new rewrite rules. Custom components are able to use their own custom 21 * URI structures with very little work. 22 * 23 * The URIs are broken down as follows: 24 * - http:// example.com / members / andy / [current_component] / [current_action] / [action_variables] / [action_variables] / ... 25 * - OUTSIDE ROOT: http:// example.com / sites / buddypress / members / andy / [current_component] / [current_action] / [action_variables] / [action_variables] / ... 26 * 27 * Example: 28 * - http://example.com/members/andy/profile/edit/group/5/ 29 * - $bp->current_component: string 'xprofile' 30 * - $bp->current_action: string 'edit' 31 * - $bp->action_variables: array ['group', 5] 32 * 33 * @since 1.0.0 34 * @deprecated 12.0.0 35 */ 36 function bp_core_set_uri_globals() { 37 _deprecated_function( __FUNCTION__, '12.0.0' ); 38 } 39 16 40 /** 17 41 * Add support for a top-level ("root") component.
Note: See TracChangeset
for help on using the changeset viewer.