mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Fix attribute spacing. Props Utkarsh. see #14772
git-svn-id: http://svn.automattic.com/wordpress/trunk@15915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
669c5fab8e
commit
edbfd35f31
@ -100,7 +100,7 @@ class WP_Admin_Bar {
|
||||
<?php $menuclass = ( !empty( $menu_item['children'] ) ) ? 'menupop ' : ''; ?>
|
||||
|
||||
<li class="<?php echo $menuclass . "ab-$id" ?><?php if ( !empty( $menu_item['meta']['class'] ) ) : ?><?php echo ' ' . $menu_item['meta']['class'] ?><?php endif; ?>">
|
||||
<a href="<?php echo strip_tags( $menu_item['href'] ) ?>"<?php if ( !empty( $menu_item['meta']['onclick'] ) ) :?>onclick="<?php echo $menu_item['meta']['onclick'] ?>"<?php endif; ?><?php if ( !empty( $menu_item['meta']['target'] ) ) :?>target="<?php echo $menu_item['meta']['target'] ?>"<?php endif; ?>><?php if ( !empty( $menuclass ) ) : ?><span><?php endif; ?><?php echo $menu_item['title'] ?><?php if ( !empty( $menuclass ) ) : ?></span><?php endif; ?></a>
|
||||
<a href="<?php echo strip_tags( $menu_item['href'] ) ?>"<?php if ( !empty( $menu_item['meta']['onclick'] ) ) :?> onclick="<?php echo $menu_item['meta']['onclick'] ?>"<?php endif; ?><?php if ( !empty( $menu_item['meta']['target'] ) ) :?> target="<?php echo $menu_item['meta']['target'] ?>"<?php endif; ?>><?php if ( !empty( $menuclass ) ) : ?><span><?php endif; ?><?php echo $menu_item['title'] ?><?php if ( !empty( $menuclass ) ) : ?></span><?php endif; ?></a>
|
||||
|
||||
<?php if ( !empty( $menu_item['children'] ) ) : ?>
|
||||
<ul>
|
||||
|
Loading…
Reference in New Issue
Block a user