[wp-trac] [WordPress Trac] #40370: add_image_sizes does not create the "crop position" versions of the image
WordPress Trac
noreply at wordpress.org
Sat Feb 9 22:17:51 UTC 2019
#40370: add_image_sizes does not create the "crop position" versions of the image
-------------------------------------------------+-------------------------
Reporter: piejesus | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future
| Release
Component: Media | Version: 2.9
Severity: normal | Resolution:
Keywords: needs-unit-tests good-first-bug | Focuses:
has-patch |
-------------------------------------------------+-------------------------
Comment (by nickylimjj):
Replying to [comment:9 nickylimjj]:
> After applying the patch from @themattroyal, I do not see any difference
in the files saved in `build/wp-content/uploads/...` and only one file is
saved as `filename-400x400.png`
>
> Not sure how to proceed with unit test for this.
>
> Also @junkai is looking into this
Solved in replicating. I forgot to build it with `grunt` after applying
the patch. Working on the unit test now.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40370#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list