[wp-trac] [WordPress Trac] #20052: Support sprites for admin menu icons in register_post_type and add_menu_page

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 25 15:45:37 UTC 2012


#20052: Support sprites for admin menu icons in register_post_type and
add_menu_page
----------------------------+-----------------------------
 Reporter:  helenyhou       |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Future Release
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |
----------------------------+-----------------------------

Comment (by scribu):

 I agree that that blob of CSS should be generated and being in Core would
 ensure that it's kept up to date.

 {{{
         array(
                 $image_url,
                 'x,y', // standard coordinates
                 'x,y', // hover/active coordinates
                 'x,y', // retina coordinates
                 'x,y' // retina hover/active coordinates
         )
 }}}

 Named arguments pls!


 {{{
         array(
                 'image_url' => $image_url,
                 'standard' => 'x,y',
                 'standard_hover' => 'x,y',
                 'hidpi' => 'x,y',
                 'hidpi_hover' => 'x,y'
         )
 }}}

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


More information about the wp-trac mailing list