Changeset 15696 for trunk/wp-includes/admin-bar.php
- Timestamp:
- 10/04/2010 04:16:33 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/admin-bar.php
r15695 r15696 230 230 global $pagenow, $wp_locale; 231 231 232 if ( !is_user_logged_in() ) 233 return false; 234 235 if ( 'press-this.php' == $pagenow || 'update.php' == $pagenow ) 232 if ( !is_user_logged_in() || 'press-this.php' == $pagenow || 'update.php' == $pagenow || 'media-upload.php' == $pagenow ) 236 233 return; 237 234 … … 295 292 var children = par.children('ul'); 296 293 if ( root.hasClass('ab-sadmin') ) 297 jQuery(children[0]).css('<?php echo( is_rtl() ? 'left' 294 jQuery(children[0]).css('<?php echo( is_rtl() ? 'left' : 'right' ); ?>',par.parents('ul').width() - 1 +'px' ); 298 295 else 299 jQuery(children[0]).css('<?php echo( is_rtl() ? 'right' 296 jQuery(children[0]).css('<?php echo( is_rtl() ? 'right' : 'left' ); ?>',par.parents('ul').width() +'px' ); 300 297 301 298 jQuery(children[0]).css('top', '0' );
Note: See TracChangeset
for help on using the changeset viewer.