[wp-trac] [WordPress Trac] #19878: Allow for a Custom Screen Icon

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 24 21:40:32 UTC 2012


#19878: Allow for a Custom Screen Icon
-----------------------------+------------------------------
 Reporter:  wpsmith          |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  General          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch close  |
-----------------------------+------------------------------

Comment (by nathanrice):

 I think someone should try to defend the use of an empty div with CSS to
 display an image vs. using an actual image in the source. As far as I can
 tell, the way it's being done is wrong.

 Seems to me, you should be able to pass an image URI to `screen_icon()`
 and have that output inside the div.

 {{{
 <div class="icon32"><img src="/path/to/image.png" alt="" /></div>
 }}}

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


More information about the wp-trac mailing list