[wp-trac] [WordPress Trac] #58271: Docs: WP_Image_Editor classes have incorrect type for $crop in docblocks

WordPress Trac noreply at wordpress.org
Tue Jul 11 06:29:25 UTC 2023


#58271: Docs: WP_Image_Editor classes have incorrect type for $crop in docblocks
--------------------------+-----------------------
 Reporter:  thunderdw     |       Owner:  audrasjb
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  6.3
Component:  Media         |     Version:
 Severity:  trivial       |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+-----------------------
Changes (by audrasjb):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56204" 56204]:
 {{{
 #!CommitTicketReference repository="" revision="56204"
 Docs: Fix incorrect type for `$crop` param is various `WP_Image_Editor`
 classes and methods.

 This changeset updates the `$crop` docblock type in various
 `WP_Image_Editor`, `WP_Image_Editor_GD` and `WP_Image_Editor_Imagick`
 functions, to match the
 type documented in `image_resize_dimensions()`.

 Props thunderdw.
 Fixes #58271.
 See #57840.
 }}}

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


More information about the wp-trac mailing list