[wp-trac] [WordPress Trac] #59745: Docblock update for `wp_calculate_image_sizes` hook

WordPress Trac noreply at wordpress.org
Wed Nov 1 11:49:46 UTC 2023


#59745: Docblock update for `wp_calculate_image_sizes` hook
--------------------------+-----------------------------
 Reporter:  dilipbheda    |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  6.5
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"57042" 57042]:
 {{{
 #!CommitTicketReference repository="" revision="57042"
 Docs: Correct the type for optional parameters in a few media functions.

 This affects the `$image_src` and/or `$image_meta` parameters in:
 * `wp_get_attachment_image_srcset()`
 * `wp_get_attachment_image_sizes()`
 * `wp_calculate_image_sizes()`

 Follow-up to [35412], [35419], [35481], [35498], [35569], [35672].

 Props dilipbheda.
 Fixes #59745.
 }}}

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


More information about the wp-trac mailing list