[wp-trac] [WordPress Trac] #59067: Comment text regarding wp_min_priority_img_pixels filter in wp_get_loading_optimization_attributes function

WordPress Trac noreply at wordpress.org
Fri Aug 11 11:33:48 UTC 2023


#59067: Comment text regarding wp_min_priority_img_pixels filter in
wp_get_loading_optimization_attributes function
--------------------------+-----------------------------
 Reporter:  tmatsuur      |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  6.3.1
Component:  Media         |     Version:  6.3
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"56386" 56386]:
 {{{
 #!CommitTicketReference repository="" revision="56386"
 Docs: Correct duplicate hook reference for `wp_min_priority_img_pixels`.

 The original filter location is `wp_maybe_add_fetchpriority_high_attr()`
 in `wp-includes/media.php`.

 This commit updates the instance in
 `wp_get_loading_optimization_attributes()` to point to the correct file.

 Follow-up to [56037], [56143], [56347].

 Props tmatsuur, rajinsharwar, khokansardar.
 Fixes #59067.
 }}}

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


More information about the wp-trac mailing list