[wp-trac] [WordPress Trac] #20980: Remove unused images

WordPress Trac wp-trac at lists.automattic.com
Sun Jul 1 15:01:55 UTC 2012


#20980: Remove unused images
----------------------------+------------------
 Reporter:  helenyhou       |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  3.5
Component:  Graphic Design  |     Version:  3.4
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+------------------

Comment (by coffee2code):

 If media-button-* are taken into account, there are 100 plugins by 79
 authors making use of the admin images listed in the original ticket as
 being considered for removal from core. (One author has 13 plugins in that
 group, all referencing the same image.)

 Without taking into consideration media-button-* images, there are only 38
 plugins by 33 authors.

 Here's a breakdown of image use (counting each plugin only once for each
 different image it uses):

 || IMAGE || COUNT ||
 || ed-bg.gif || 8 ||
 || fav.png || 10 ||
 || fav-arrow.gif || 9 ||
 || fav-vs.gif || 1 ||
 || loading-publish.gif || 4 ||
 || logo-ghost.gif || 5 ||
 || media-button-image.gif || 57 ||
 || media-button-music.gif || 7 ||
 || media-button-other.gif || 9 ||
 || media-button-video.gif || 12 ||
 || menu-arrows.gif || 2 ||
 || toggle-arrow.gif || 6 ||
 || required.gif || 1 ||
 || screen-options-toggle.gif || 1 ||
 || screen-options-toggle-vs.gif || 1 ||
 || upload-*.gif || 1 ||

 The scans took into account various usages:
 * admin_url( 'images/XXX' )
 * admin_url() . '/images/XXX'
 * relative referencing to wp-admin/images/, and to images/

 Plugins that packaged and referenced their own version of the given named
 images were excluded.

 I've run a separate scan for the 4 images @helenyhou added in the
 preceding comment ([comment:11]) but will report them separately, shortly.
 However, I can say that gray-grad.png and fade-butt.png have widespread
 usage by plugins.

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


More information about the wp-trac mailing list