[wp-trac] [WordPress Trac] #15561: Press This is broken

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 18 09:50:09 UTC 2010


#15561: Press This is broken
-------------------------------------+-----------------------
 Reporter:  westi                    |       Owner:
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  3.1
Component:  Press This               |     Version:  3.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+-----------------------

Comment (by garyc40):

 Replying to [comment:12 nacin]:
 > I am guessing some of these rules can be merged into the rest of the
 styles. For example, the toggle-arrow rules can go into toggle-arrow
 directly.

 Hmm, don't fully understand your suggestion. I'm guessing you mean using
 rules that are defined elsewhere instead of porting those rules from other
 stylesheets to wplink.css?

 The problem with press this is that it has its own stylesheet (press-
 this.css) and doesn't inherit from base css files (such as global.css or
 wp-admin.css). As a result, lots of code duplication there. But since
 including these global and wp-admin stylesheets would be costly in terms
 of overhead, I don't see any other solution than copypasta. Splitting up
 wp-admin.css into smaller components that press-this can inherit might
 work, although that would be a bit unwieldy.

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


More information about the wp-trac mailing list