[wp-trac] [WordPress Trac] #12506: admin-color-scheme.css already loaded on wp-login.php. why?

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 7 15:07:32 UTC 2010


#12506: admin-color-scheme.css already loaded on wp-login.php. why?
----------------------------+-----------------------------------------------
 Reporter:  F J Kaiser      |       Owner:                                     
     Type:  defect (bug)    |      Status:  new                                
 Priority:  normal          |   Milestone:  3.0                                
Component:  Administration  |     Version:  2.9.2                              
 Severity:  normal          |    Keywords:  css, admin, login.css, wp-login.php
----------------------------+-----------------------------------------------

Comment(by F J Kaiser):

 I get your point (partly), but i can't agree. Let one thing do it's
 specific stuff and not only part of it.

 At +/- 30kB i don't argue with loading time. But i do say, that it's
 unneccassary and doesn't help anyone. There are 2 scenarios i can imagine:
 a) Someone extends the data/input fields with a plugin or custom code.
 There she/he needs only the styles i wrote in my initial text. b) Someone
 makes a custom login page. In this scenario it's likely, that admin-css
 and login.css will be completly dropped and replaced by something that
 fits a theme.

 If you start wp, you no near nothing about php, mysql and often pretty
 less than nothing from html to css. This doesn't mean you can't use wp
 (themes, plugins, 5 min. installation). But when you start diggin into
 code, it's getting hard. And the starting point is nearly everytime css.
 So let's keep things clear, easy and separated in case, someone want's to
 change something (even plugin authors would have an easier life with such
 a slim css file).

 I gave you 3 reasons why i see this neccassary: Size, Structure (separated
 code - it's not part of /wp-admin) and useability/3rd party friendly. The
 only point i could really see in your argument "the color scheme can be
 defined once", if the wp-login.php would make use of more than just the
 button-style. (Here goes a last one: we save bandwidth).

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


More information about the wp-trac mailing list