[wp-trac] [WordPress Trac] #39471: wordpress-logo.svg can be optimized
WordPress Trac
noreply at wordpress.org
Thu Jan 5 03:52:48 UTC 2017
#39471: wordpress-logo.svg can be optimized
----------------------------+------------------------------
Reporter: lukecavanagh | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 4.7
Severity: normal | Resolution:
Keywords: has-patch | Focuses: performance
----------------------------+------------------------------
Comment (by netweb):
Related, possible duplicate: #30587 ?
I've just refreshed the patch in #30587 to account for the WordPress SVG
logos in `/wp-admin/images`. The
[https://core.trac.wordpress.org/attachment/ticket/30587/30587.1.diff
patch] uses our existing build tools, specifically the `imagemin` task via
`grunt imagemin:core` to compress SVGs:
After running `grunt imagemin:core` there are (currently) 5 SVGs with
optimizations available to commit:
{{{#!bash
$ svn st
M src/wp-admin/images/wordpress-logo-white.svg
M src/wp-admin/images/wordpress-logo.svg
M src/wp-content/themes/twentyfourteen/images/pattern-dark.svg
M src/wp-content/themes/twentyfourteen/images/pattern-light.svg
M src/wp-content/themes/twentyseventeen/assets/images/svg-icons.svg
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39471#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list