[wp-trac] [WordPress Trac] #15851: Admin Bar Is Not Properly Reset

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 18 22:19:21 UTC 2010


#15851: Admin Bar Is Not Properly Reset
-------------------------------------+-----------------------
 Reporter:  JohnONolan               |       Owner:  ocean90
     Type:  defect (bug)             |      Status:  assigned
 Priority:  high                     |   Milestone:  3.1
Component:  UI                       |     Version:  3.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+-----------------------

Comment (by filosofo):

 pablox says, "I don't understand why a theme developer should have the
 admin bar in mind," and I was saying why the theme developer needs to keep
 it in mind, just like the theme developer needs to be aware of those other
 elements.  The general principal is the same: being aware of likely ways
 in which your styling will affect a typical WordPress site.

 If the theme developer chooses not to be aware of widget list elements or
 nested nav menu elements, the theme will be a mess for common usage.
 That's analogous to the theme developer who chooses not to be aware of the
 admin bar.

 Besides, there are many ways in which your styling is restricted when
 making a theme, even with the things I mentioned.  Try to make a
 widgetized sidebar much narrower than 150 pixels, and many third-party
 widgets will break.  Try to set fixed width on site titles or navigational
 menus, and you'll run into similar issues.  Don't use the wysiwyg-given
 classes for images, or fail to clear floated post elements, and you'll
 have other problems, etc.

 The considerate theme developer is aware of common uses and problems with
 a WordPress theme and develops accordingly.  The admin bar is just another
 thing to add to the list.  Compared to some of the others, it's thankfully
 trivial to account for.

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


More information about the wp-trac mailing list