Changeset 801
- Timestamp:
- 12/22/2008 08:16:53 PM (18 years ago)
- Location:
- trunk
- Files:
-
- 11 edited
-
bp-activity.php (modified) (2 diffs)
-
bp-blogs.php (modified) (2 diffs)
-
bp-core.php (modified) (1 diff)
-
bp-core/bp-core-adminbar.php (modified) (2 diffs)
-
bp-core/bp-core-cssjs.php (modified) (2 diffs)
-
bp-core/bp-core-settings.php (modified) (1 diff)
-
bp-friends.php (modified) (2 diffs)
-
bp-groups.php (modified) (2 diffs)
-
bp-messages.php (modified) (2 diffs)
-
bp-wire.php (modified) (2 diffs)
-
bp-xprofile.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity.php
r799 r801 163 163 } 164 164 add_action( 'wp', 'bp_activity_setup_globals', 1 ); 165 add_action( ' _admin_menu', 'bp_activity_setup_globals', 1 );165 add_action( 'admin_menu', 'bp_activity_setup_globals', 1 ); 166 166 167 167 … … 195 195 } 196 196 add_action( 'wp', 'bp_activity_setup_nav', 2 ); 197 add_action( 'admin_menu', 'bp_activity_setup_nav', 2 ); 197 198 198 199 /***** Screens **********/ -
trunk/bp-blogs.php
r754 r801 141 141 } 142 142 add_action( 'wp', 'bp_blogs_setup_globals', 1 ); 143 add_action( ' _admin_menu', 'bp_blogs_setup_globals', 1 );143 add_action( 'admin_menu', 'bp_blogs_setup_globals', 1 ); 144 144 145 145 … … 187 187 } 188 188 add_action( 'wp', 'bp_blogs_setup_nav', 2 ); 189 add_action( 'admin_menu', 'bp_blogs_setup_nav', 2 ); 189 190 190 191 function bp_blogs_screen_my_blogs() { -
trunk/bp-core.php
r754 r801 307 307 } 308 308 add_action( 'wp', 'bp_core_setup_nav', 2 ); 309 add_action( 'admin_menu', 'bp_core_setup_nav', 2 ); 309 310 310 311 /** -
trunk/bp-core/bp-core-adminbar.php
r704 r801 42 42 // **** "My Account" Menu ****** 43 43 function bp_adminbar_account_menu() { 44 global $bp; 45 46 /* Sort the nav by key as the array has been put together in different locations */ 47 $bp['bp_nav'] = bp_core_sort_nav_items( $bp['bp_nav'] ); 48 44 49 if ( is_user_logged_in() ) { 45 global $bp;46 50 47 51 echo '<li><a href="">'; … … 264 268 265 269 add_action( 'wp_footer', 'bp_core_admin_bar' ); 270 add_action( 'admin_footer', 'bp_core_admin_bar' ); 266 271 267 272 ?> -
trunk/bp-core/bp-core-cssjs.php
r561 r801 15 15 } 16 16 add_action( 'wp', 'bp_core_add_js' ); 17 add_action( 'admin_menu', 'bp_core_add_js' ); 17 18 18 19 /** … … 85 86 86 87 /** 88 * bp_core_add_admin_css() 89 * 90 * Add the CSS needed for all components in the admin area. 91 * 92 * @package BuddyPress Core 93 * @uses get_option() Selects a site setting from the DB. 94 */ 95 function bp_core_add_admin_css() { 96 wp_enqueue_style( 'bp-admin-bar', site_url('/wp-content/mu-plugins/bp-core/css/admin-bar.css') ); 97 } 98 add_action( 'admin_menu', 'bp_core_add_admin_css' ); 99 100 /** 87 101 * bp_core_add_cropper_js() 88 102 * -
trunk/bp-core/bp-core-settings.php
r683 r801 12 12 } 13 13 add_action( 'wp', 'bp_core_add_settings_nav', 2 ); 14 add_action( 'admin_menu', 'bp_core_add_settings_nav', 2 ); 14 15 15 16 /**** GENERAL SETTINGS ****/ -
trunk/bp-friends.php
r754 r801 66 66 } 67 67 add_action( 'wp', 'friends_setup_globals', 1 ); 68 add_action( ' _admin_menu', 'friends_setup_globals', 1 );68 add_action( 'admin_menu', 'friends_setup_globals', 1 ); 69 69 70 70 function friends_check_installed() { … … 109 109 } 110 110 add_action( 'wp', 'friends_setup_nav', 2 ); 111 add_action( 'admin_menu', 'friends_setup_nav', 2 ); 111 112 112 113 /***** Screens **********/ -
trunk/bp-groups.php
r754 r801 136 136 } 137 137 add_action( 'wp', 'groups_setup_globals', 1, false ); 138 add_action( ' _admin_menu', 'groups_setup_globals', 1, false );138 add_action( 'admin_menu', 'groups_setup_globals', 1, false ); 139 139 140 140 … … 278 278 } 279 279 add_action( 'wp', 'groups_setup_nav', 2 ); 280 add_action( 'admin_menu', 'groups_setup_nav', 2 ); 280 281 281 282 -
trunk/bp-messages.php
r796 r801 111 111 } 112 112 add_action( 'wp', 'messages_setup_globals', 1 ); 113 add_action( ' _admin_menu', 'messages_setup_globals', 1 );113 add_action( 'admin_menu', 'messages_setup_globals', 1 ); 114 114 115 115 … … 167 167 } 168 168 add_action( 'wp', 'messages_setup_nav', 2 ); 169 add_action( 'admin_menu', 'messages_setup_nav', 2 ); 169 170 170 171 /***** Screens **********/ -
trunk/bp-wire.php
r754 r801 45 45 } 46 46 add_action( 'wp', 'bp_wire_setup_globals', 1 ); 47 add_action( ' _admin_menu', 'bp_wire_setup_globals', 1 );47 add_action( 'admin_menu', 'bp_wire_setup_globals', 1 ); 48 48 49 49 /************************************************************************** … … 73 73 } 74 74 add_action( 'wp', 'bp_wire_setup_nav', 2 ); 75 add_action( 'admin_menu', 'bp_wire_setup_nav', 2 ); 75 76 76 77 /***** Screens **********/ -
trunk/bp-xprofile.php
r754 r801 184 184 } 185 185 add_action( 'wp', 'xprofile_setup_globals', 1 ); 186 add_action( ' _admin_menu', 'xprofile_setup_globals', 1 );186 add_action( 'admin_menu', 'xprofile_setup_globals', 1 ); 187 187 188 188 /** … … 255 255 } 256 256 add_action( 'wp', 'xprofile_setup_nav', 2 ); 257 add_action( 'admin_menu', 'xprofile_setup_nav', 2 ); 257 258 258 259 /********
Note: See TracChangeset
for help on using the changeset viewer.