Changeset 5678 for branches/1.5/bp-core/bp-core-adminbar.php
- Timestamp:
- 02/07/2012 02:16:37 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.5/bp-core/bp-core-adminbar.php
r5628 r5678 66 66 * Add a menu for the root site of this BuddyPress network 67 67 * 68 * @global type $bp69 68 * @global type $wp_admin_bar 70 69 * @return If in ajax 71 70 */ 72 71 function bp_admin_bar_root_site() { 73 global $ bp, $wp_admin_bar;72 global $wp_admin_bar; 74 73 75 74 // Create the root blog menu … … 113 112 */ 114 113 function bp_admin_bar_my_sites_menu() { 115 global $wp db, $wp_admin_bar;114 global $wp_admin_bar; 116 115 117 116 /* Add the 'My Sites' menu if the user has more than one site. */ … … 217 216 218 217 $update_title = array( ); 219 if ( $wordpress_update_count)218 if ( !empty( $wordpress_update_count ) ) 220 219 $update_title[] = sprintf( __( '%d WordPress Update' ), $wordpress_update_count ); 221 220 if ( $plugin_update_count ) … … 237 236 */ 238 237 function bp_core_load_admin_bar_css() { 239 global $wp_version;240 238 241 239 if ( !bp_use_wp_admin_bar() )
Note: See TracChangeset
for help on using the changeset viewer.