Changeset 18451
- Timestamp:
- 07/21/2011 07:41:18 PM (13 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/admin-bar.php
r18333 r18451 443 443 $pref = get_user_option( "show_admin_bar_{$context}", $user ); 444 444 if ( false === $pref ) 445 return 'admin' != $context || is_multisite();445 return true; 446 446 447 447 return 'true' === $pref; -
trunk/wp-includes/user.php
r18178 r18451 1464 1464 1465 1465 if ( empty($show_admin_bar_admin) ) 1466 $show_admin_bar_admin = is_multisite() ? 'true' : 'false';1466 $show_admin_bar_admin = 'true'; 1467 1467 1468 1468 $user_nicename_check = $wpdb->get_var( $wpdb->prepare("SELECT ID FROM $wpdb->users WHERE user_nicename = %s AND user_login != %s LIMIT 1" , $user_nicename, $user_login));
Note: See TracChangeset
for help on using the changeset viewer.