[wp-trac] [WordPress Trac] #14243: Content of css interfering with functions

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 6 17:15:20 UTC 2010


#14243: Content of css interfering with functions
--------------------------+-------------------------------------------------
 Reporter:  matveb        |       Owner:                        
     Type:  defect (bug)  |      Status:  new                   
 Priority:  lowest        |   Milestone:  Awaiting Review       
Component:  Themes        |     Version:                        
 Severity:  minor         |    Keywords:  has-patch dev-feedback
--------------------------+-------------------------------------------------

Comment(by matveb):

 Some new findings:

 It seems that all default header tags can be populated through CSS
 selectors, given that they were not defined earlier on the theme header.

 {{{
 /*
 Theme Name: Test
 Template: twentyten
 */

 #status:hover p {
   color: #666; }

 #author:hover p {
   color: #666; }

 #themeuri:hover p {
   color: #666; }

 #description:hover p {
   color: #666; }

 #authoruri:hover p {
   color: #666; }

 #version:hover p {
   color: #666; }

 #tags:hover p {
   color: #666; }
 }}}

 On the WordPress admin theme tab you should see some "hover p {" around.

 This does not seem to be too much of a concern when tags are already
 defined; but eventually you could set a template for themes which don't
 have one, effectively displaying a ''The parent theme is missing. Please
 install the "hover p {" parent theme.)'' on the admin.

 Just add '''#template:hover p { color: #666; }''' to Twenty Ten's
 style.css not too far from the top and you have a broken Twenty Ten.

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


More information about the wp-trac mailing list