Ticket #14772: no_link_possible.diff
File no_link_possible.diff, 0.9 KB (added by neoxx, 3 weeks ago) |
---|
-
class-wp-admin-bar.php
121 121 echo ' ' . $menu_item['meta']['class']; 122 122 endif; 123 123 ?>"> 124 < a href="<?php echo strip_tags( $menu_item['href'] ) ?>"<?php124 <?php if ( !empty( $menu_item['href'] ) ) : ?><a href="<?php echo strip_tags( $menu_item['href'] ) ?>"<?php 125 125 if ( ! empty( $menu_item['meta']['onclick'] ) ) : 126 126 ?> onclick="<?php echo $menu_item['meta']['onclick']; ?>"<?php 127 127 endif; … … 134 134 if ( ! empty( $menuclass ) ) : 135 135 ?><span><?php 136 136 endif; 137 endif; 137 138 138 139 echo $menu_item['title']; 139 140 141 if ( ! empty( $menu_item['href'] ) ) : 140 142 if ( ! empty( $menuclass ) ) : 141 143 ?></span><?php 142 144 endif; 143 145 144 ?></a> 146 ?></a><?php endif; ?> 145 147 146 148 <?php if ( ! empty( $menu_item['children'] ) ) : ?> 147 149 <ul>