Commit Graph

72 Commits

Author SHA1 Message Date
joedolson ae111b182a Media: Replace media icon images with SVG.
Replace the `.png` files in use for media library type icons with `.svg` versions. Improves sharpness, especially on high resolution screens and devices.

Props iseulde, melchoyce, joemcgill, sabernhardt, huzaifaalmesbah, wonderboymusic, ocean90, karmatosed, boemedia, bosskhj, joedolson.
Fixes #31352.
Built from https://develop.svn.wordpress.org/trunk@57638


git-svn-id: http://core.svn.wordpress.org/trunk@57139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-02-15 23:49:10 +00:00
Pascal Birchler fa96cdfee0 Build/Test Tools: Expand "imagemin" Grunt task to cover default themes.
Runs `npm run grunt precommit:image` to minify/compress images in the repository.

Props desrosj.
Fixes #58996.
Built from https://develop.svn.wordpress.org/trunk@57322


git-svn-id: http://core.svn.wordpress.org/trunk@56828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-22 11:43:18 +00:00
Sergey Biryukov e3360c89e2 General: Remove Windows Live Writer manifest file.
The XML manifest was originally added in WordPress 2.3.1 to turn on tagging support in Windows Live Writer.

Given that the last major release of the software came out in 2012, and it was completely discontinued in January 2017, including this file in core no longer provides any benefit.

Follow-up to [6192], [49904].

Props joostdevalk, ayeshrajans, flixos90, jhabdas, frank-klein, wtranch, SergeyBiryukov.
Fixes #41404.
Built from https://develop.svn.wordpress.org/trunk@55620


git-svn-id: http://core.svn.wordpress.org/trunk@55132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-04-04 14:56:22 +00:00
joedolson 9cb60e437f Coding Standards: Revert accidental image changes in [52171].
Reverts images changed in [52171].

Follow up to [52171].

See #54168.

Built from https://develop.svn.wordpress.org/trunk@52172


git-svn-id: http://core.svn.wordpress.org/trunk@51764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-11-16 00:04:01 +00:00
joedolson 3b1d5aec7c Media: Revert media uploader input change in [52059].
Based on follow-up research, this change was never necessary in order to use e2e tests in the media library uploader. Additionally, it created several complicated side effects. Without significant benefit, it's not valuable to pursue the change further.

Follow up to [52059].

See #54168, #54411.
Fixes #54168.
Built from https://develop.svn.wordpress.org/trunk@52171


git-svn-id: http://core.svn.wordpress.org/trunk@51763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-11-15 23:22:02 +00:00
Sergey Biryukov 443dd105d4 Customize: Move the WordPress logo with a white background to the `wp-includes` directory.
This ensures that the image used as a default site icon looks good on a dark background.

The image was previously changed in the `wp-admin` directory, but the site icon is now loaded from `wp-includes`.

Follow-up to [36635], [47018], [47564], [47832].

Props ocean90.
Fixes #49798.
Built from https://develop.svn.wordpress.org/trunk@47838


git-svn-id: http://core.svn.wordpress.org/trunk@47614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-21 09:10:12 +00:00
Aaron Jorbin a92b23ee61 Build/Test tools: Update grunt-contrib-imagemin and run it
Smaller images are good, so is not having npm vulnerabilities.

See #48203.
Fixes #48206.
Props whyisjake, netweb.


Built from https://develop.svn.wordpress.org/trunk@46404


git-svn-id: http://core.svn.wordpress.org/trunk@46203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-05 14:20:59 +00:00
Jeremy Felt 0cad45c7f8 Build: Update images following [43684].
`grunt-contrib-imagemin` was updated, which included some changes to image minification. Those changes are now applies.

Merges [43785] from the 5.0 branch to trunk.

Props netweb.
See #45080.

Built from https://develop.svn.wordpress.org/trunk@44320


git-svn-id: http://core.svn.wordpress.org/trunk@44150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 03:36:27 +00:00
Pascal Birchler 33048247c8 Embeds: Load the default site icon from the `wp-includes` directory.
Files inside the `wp-admin` directory may not be publicly available. This copies the blue WordPress logo to `wp-includes/images`.

Props thewanderingbrit.
Fixes #35322.
Built from https://develop.svn.wordpress.org/trunk@36635


git-svn-id: http://core.svn.wordpress.org/trunk@36602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-23 16:55:27 +00:00
Gary Pendergast 1b30c48bca Embeds: Revert [35083], as the PNG files ended up not being used in [35466].
See #34204.


Built from https://develop.svn.wordpress.org/trunk@35467


git-svn-id: http://core.svn.wordpress.org/trunk@35431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-10-31 04:42:25 +00:00
Scott Taylor 75426585fb oEmbed: add fallback icons (not used yet) for older browsers.
Props melchoyce.
See #34204.

Built from https://develop.svn.wordpress.org/trunk@35083


git-svn-id: http://core.svn.wordpress.org/trunk@35048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-10-12 21:17:25 +00:00
Gary Pendergast b7c7882d1c Smilies: Update our few remaining smilies to better align with Twemoji, and add frownie.png until Twemoji provide a build containing it.
Props joen.

See #31709.


Built from https://develop.svn.wordpress.org/trunk@32104


git-svn-id: http://core.svn.wordpress.org/trunk@32083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-10 06:20:26 +00:00
Dominik Schilling 6b01aa3a4f `grunt imagemin`for [31745].
see #31242.
Built from https://develop.svn.wordpress.org/trunk@31759


git-svn-id: http://core.svn.wordpress.org/trunk@31740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-12 22:01:26 +00:00
Gary Pendergast cd0e4a29fe Add new smiley images missed in [31733].
See #31242


Built from https://develop.svn.wordpress.org/trunk@31745


git-svn-id: http://core.svn.wordpress.org/trunk@31726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-12 03:28:26 +00:00
Andrew Ozz 0517ee7c6e TwentyFifteen:
- Fix image caption alignment in the editor.
- Remove unused var from functions.js.
Also includes few images that were shrunk a bit when running grunt precommit.
Fixes #30493.
Built from https://develop.svn.wordpress.org/trunk@30562


git-svn-id: http://core.svn.wordpress.org/trunk@30551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-25 06:12:22 +00:00
Aaron Jorbin 2261f4ceb4 Update images based on grunt imagemin
The new version of imagemin that was added in r30059 condenses some images more.

see #30141


Built from https://develop.svn.wordpress.org/trunk@30079


git-svn-id: http://core.svn.wordpress.org/trunk@30079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-28 22:02:22 +00:00
Andrew Ozz 60435c4143 Edit Image modal:
- Bring back some of the advanced settings.
- Make the layout two-column for wider screens, remove the sidebar, and shrink the modal a bit.
- The image reflects the size as inserted in the post as long as it doesn't overflow the column and is not too tall. Changing the size to another intermediate will also update the image "preview."
- Rename "Edit Image" to "Edit Original" to try and better communicate that editing the image will modify the media library item not just the image inserted into the post that is being edited.
(updates two PNGs from precommit)
Props gcorne, see #27366
Built from https://develop.svn.wordpress.org/trunk@27797


git-svn-id: http://core.svn.wordpress.org/trunk@27632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-27 22:41:14 +00:00
Helen Hou-Sandí 52d2920891 Use Dashicon-style images for mime type icons. Actually moving to Dashicons via the font can be explored later, but has theme/plugin implications and requires too many changes to make it for 3.9. props melchoyce for the icons. fixes #26650.
Built from https://develop.svn.wordpress.org/trunk@27726


git-svn-id: http://core.svn.wordpress.org/trunk@27563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-25 21:10:15 +00:00
Andrew Nacin 0c16c0477b Reference https://wordpress.org rather than http://wordpress.org in strings, links, comments, etc.
props Ipstenu, markjaquith.
see #27115.

Built from https://develop.svn.wordpress.org/trunk@27369


git-svn-id: http://core.svn.wordpress.org/trunk@27219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-03 02:34:27 +00:00
Andrew Ozz 9c77339681 TinyMCE: revert style for the blocks drop-down in the toolbar, limit the styles imported for the same drop-down, make the menu highlight color grey. Part props avryl, see #26952
Built from https://develop.svn.wordpress.org/trunk@27193


git-svn-id: http://core.svn.wordpress.org/trunk@27052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-19 03:51:15 +00:00
Andrew Nacin fae539978e Optimize 69 images (of 127) using the new Grunt task. (See [27172].)
fixes #25169.

Built from https://develop.svn.wordpress.org/trunk@27173


git-svn-id: http://core.svn.wordpress.org/trunk@27037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-13 08:03:14 +00:00
Helen Hou-Sandí eaec1347f2 Remove many of the now-unused images in core. Some images have been left for now, notably our previous style icons, action indicators, and images that see a higher frequency of use in plugins to allow them more time to adapt to the new design. props ocean90, Ipstenu, coffee2code. fixes #26036.
Built from https://develop.svn.wordpress.org/trunk@26821


git-svn-id: http://core.svn.wordpress.org/trunk@26708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 03:21:12 +00:00
Helen Hou-Sandí 01a96c4a3a Add spinner images that were inadvertently left out of [26072]. see #25858.
Built from https://develop.svn.wordpress.org/trunk@26073


git-svn-id: http://core.svn.wordpress.org/trunk@25993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 00:40:09 +00:00
Andrew Nacin 6ad495b625 Copy wpspin_light to wp-includes as wpspin.gif. Use it in media views. see #22728.
git-svn-id: http://core.svn.wordpress.org/trunk@23023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-04 16:18:53 +00:00
Ryan Boren fe485a9ade ImageOptim for uplaoder icons. see #22610
git-svn-id: http://core.svn.wordpress.org/trunk@22940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-30 02:18:07 +00:00
Ryan Boren 57ccc43399 Fix image alignment of the remove (X) icons in the media modal.
Props JerrySarcastic
fixes #22610


git-svn-id: http://core.svn.wordpress.org/trunk@22939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-30 02:17:14 +00:00
Ryan Boren 7188bff165 Icons for select, deselect, and window close in the media modal.
Props JerrySarcastic, helenyhou, ocean90, lessbloat
fixes #22610


git-svn-id: http://core.svn.wordpress.org/trunk@22919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-29 13:33:57 +00:00
Andrew Ozz cc58c611ec Do not optimize/smush/ImageOptim GIFs. Most are either not reduced in size or reduced only couple of bytes but the optimization messes with the transparency/matte. Fixes #22536, see #22381
git-svn-id: http://core.svn.wordpress.org/trunk@22829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-22 19:08:22 +00:00
Andrew Nacin fd191b3228 Re-align the TinyMCE HiDPI icons. props lessbloat. fixes #22528.
git-svn-id: http://core.svn.wordpress.org/trunk@22766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-21 15:34:24 +00:00
Andrew Nacin ded6e7ae57 Fix HiDPI pointer arrows used in the feature pointers. props lessbloat. fixes #22510.
git-svn-id: http://core.svn.wordpress.org/trunk@22698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-20 02:09:37 +00:00
Andrew Nacin 693cdfc2b4 Update down_arrow-2x.gif to have a transparent background. props lessbloat. fixes #22481.
git-svn-id: http://core.svn.wordpress.org/trunk@22626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-17 06:38:25 +00:00
Andrew Nacin 927c2c48d5 Sharper HiDPI alignment icons for TinyMCE. props lessbloat. fixes #22431.
git-svn-id: http://core.svn.wordpress.org/trunk@22562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-14 03:41:47 +00:00
Andrew Ozz 1276bcefb5 More retina backgrounds and bits, props saracannon, empireoflight and lessbloat, see #21019
git-svn-id: http://core.svn.wordpress.org/trunk@22439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-07 20:54:08 +00:00
Mark Jaquith 2ec9c4acc2 Use ImageOptim to losslessly smush our images. About half a MB in savings! fixes #22381. props waldojaquith
git-svn-id: http://core.svn.wordpress.org/trunk@22425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-07 18:49:10 +00:00
Andrew Ozz b28a6c066d Consolidated patch for retina support, props taylorde, props empireoflight, fixes #21019
git-svn-id: http://core.svn.wordpress.org/trunk@22031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-27 02:12:54 +00:00
Andrew Ozz c73b4aabb4 Flip Admin Bar search icon, props empireoflight and lessbloat, fixes #20033
git-svn-id: http://core.svn.wordpress.org/trunk@21676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 21:18:07 +00:00
Andrew Ozz 64033c4645 Remove unused images, props helenyhou, coffee2code, ocean90, fixes #20980
git-svn-id: http://core.svn.wordpress.org/trunk@21498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-11 02:36:01 +00:00
azaozz af65e282d2 Retina: fix the icon positions in the original editor buttons sprite, reset the css tweaks and adjust the positions in the 2x sprite, see #21019
git-svn-id: http://core.svn.wordpress.org/trunk@21295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-20 23:07:48 +00:00
azaozz d726a5fb71 TinyMCE icons sprite with tweaked positions, props lessbloat, see #21019
git-svn-id: http://core.svn.wordpress.org/trunk@21245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 06:11:30 +00:00
azaozz 1f68942126 Add 2x TinyMCE icons, props empireoflight, see #21019 for trunk
git-svn-id: http://core.svn.wordpress.org/trunk@21101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-22 00:31:18 +00:00
azaozz 0450af0ad5 Retina display icons: add 2x sprite for the toolbar, props chexee, fixes #20293
git-svn-id: http://core.svn.wordpress.org/trunk@20814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-16 23:55:38 +00:00
nacin ec305a2ee0 Hover state for the Add New admin bar icon. props johnjamesjacoby. fixes #19475.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-09 19:20:47 +00:00
nacin 086828df52 Copy xit.gif to wp-includes/images for work with pointers CSS. fixes #19441.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-06 02:39:53 +00:00
ryan 32ff2db6dd New icon for feature pointers. Props EmpireofLight. see #19422
git-svn-id: http://svn.automattic.com/wordpress/trunk@19554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-05 21:49:48 +00:00
koopersmith c06518a851 Update search icon in toolbar to match other icons. props chexee, fixes #19404.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 04:43:06 +00:00
koopersmith 9fdd8c9301 Update icons in toolbar: WP logo, comments, update, add new. props empireoflight, JohnONolan, fixes #19404.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 02:53:44 +00:00
azaozz 9cfbe50743 Admin bar: lighter search icon, props chexee, fixes #19151
git-svn-id: http://svn.automattic.com/wordpress/trunk@19413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 23:36:58 +00:00
azaozz 42cae425e5 Update admin-bar-sprite, refresh admin-bar-rtl.css, props ocean90, fixes #19289, fixes #19293
git-svn-id: http://svn.automattic.com/wordpress/trunk@19354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-19 18:09:04 +00:00
koopersmith 4691284eb1 Update pointer arrow sprite. props georgestephanis. see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 19:22:44 +00:00
koopersmith 6566ac849d Add pointer images for [19269]. props georgestephanis, chexee. see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 11:07:34 +00:00