[wp-trac] [WordPress Trac] #43668: Image cropping fails for many PHP locales, if set

WordPress Trac noreply at wordpress.org
Tue Jun 24 15:02:12 UTC 2025


#43668: Image cropping fails for many PHP locales, if set
--------------------------------------+------------------------------
 Reporter:  knutsp                    |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Media                     |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  dev-feedback needs-patch  |     Focuses:  javascript
--------------------------------------+------------------------------
Changes (by callumbw95):

 * keywords:  dev-feedback => dev-feedback needs-patch


Comment:

 Hi All,
 I have taken a look into this, and applied the testing steps as mentioned
 previously within the latest version of WordPress, and it looks like this
 is functioning properly now. However I did notice that the thumbnail
 within the media library does not update after cropping the image whilst
 the locale is set to something other than the default. I have tested with
 the default locale and it works fine, so slightly different from the
 originally issue, and will need an extra patch to get this working 100%.
 I will have a look into this and getting a patch ready in the next few
 days, but if anyone else want's to jump on this in the meantime feel free.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43668#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list