[wp-trac] [WordPress Trac] #26299: admin bar submenu misaligned on mobile devices if the parent is not a link

WordPress Trac noreply at wordpress.org
Tue Dec 3 18:29:10 UTC 2013


#26299: admin bar submenu misaligned on mobile devices if the parent is not a link
--------------------------+--------------------
 Reporter:  Chouby        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.8
Component:  Toolbar       |     Version:  trunk
 Severity:  minor         |  Resolution:
 Keywords:  ui-focus      |
--------------------------+--------------------

Comment (by georgestephanis):

 If it's done, the sprintf would probably be better as leaving the original
 line as

 `$howdy  = sprintf( __('Howdy, %1$s'), $current_user->display_name );`

 and changing the array item from

 `'title'     => $howdy . $avatar,`

 to

 `'title'     => sprintf( '<span>%1$s</span>%2$s', $howdy, $avatar ),`

 or

 `'title'     => "<span>{$howdy}</span>{$avatar}",`

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26299#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list