[wp-trac] [WordPress Trac] #15377: Allow screen_icon() to return not echo

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 16 17:28:00 UTC 2010


#15377: Allow screen_icon() to return not echo
----------------------------+-----------------------------------------------
 Reporter:  aaroncampbell   |       Owner:                
     Type:  defect (bug)    |      Status:  new           
 Priority:  normal          |   Milestone:  Future Release
Component:  Administration  |     Version:                
 Severity:  normal          |    Keywords:  has-patch     
----------------------------+-----------------------------------------------
Changes (by aaroncampbell):

  * keywords:  needs-patch => has-patch


Comment:

 The patch adds `get_screen_icon()` and uses it in `screen_icon()`.  The
 only change is to use `esc_attr` on `$name` which is used as part of the
 div id.

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


More information about the wp-trac mailing list