[wp-trac] [WordPress Trac] #59782: PHP deprecation error in WP_Image_Editor_Imagick

WordPress Trac noreply at wordpress.org
Wed Jun 26 10:34:24 UTC 2024


#59782: PHP deprecation error in WP_Image_Editor_Imagick
-------------------------------------------------+-------------------------
 Reporter:  skithund                             |       Owner:  joedolson
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.6
Component:  Media                                |     Version:  3.5
 Severity:  normal                               |  Resolution:
 Keywords:  php81 has-patch commit has-unit-     |     Focuses:  php-
  tests                                          |  compatibility
-------------------------------------------------+-------------------------

Comment (by jrf):

 Replying to [comment:17 andrewserong]:
 > Hi all, I'm just reopening this ticket as the fix appears to have caused
 a regression in WP 6.6 RC 1 where the image cropping tools in the block
 editor are no longer working. I've shared reproduction steps over in
 https://github.com/WordPress/gutenberg/issues/62855
 >
 > While testing locally, reverting the change in
 https://github.com/WordPress/wordpress-develop/pull/6876 appears to get
 the cropping tools working again. Is it possible to either revert or
 update this fix for 6.6 to fix the block editor cropping tools?

 Just looked over the tickets. The fix here is correct and should stay in.
 The fix exposed an unrelated, pre-existing logic bug in the REST API,
 which affect GB, which highlights a need for better automated tests for
 that area of the REST API as that bug should have been caught long ago.

 I suggest closing this ticket again as ''fixed'' and treating the bug in
 the REST API as a stand-alone bug as it could have been reproduced prior
 to this fix going in if passed the right test data.

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


More information about the wp-trac mailing list