[wp-trac] [WordPress Trac] #59550: Attribute "loading" with value "lazy" is missing

WordPress Trac noreply at wordpress.org
Mon May 6 20:21:46 UTC 2024


#59550: Attribute "loading" with value "lazy" is missing
--------------------------+------------------------
 Reporter:  r3dluke       |       Owner:  joemcgill
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  6.6
Component:  Media         |     Version:  6.3
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+------------------------
Changes (by joemcgill):

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


Comment:

 In [changeset:"58110" 58110]:
 {{{
 #!CommitTicketReference repository="" revision="58110"
 Docs: Update docblock for `wp_get_attachment_image()` attributes.

 This updates the docblock attributes for `wp_get_attachment_image()` to
 account for attribute values that are being determined by
 `wp_get_loading_optimization_attributes()`. Updates docs for
 `$attr['loading']` and adds docs for `$attr['fetchpriority']`.

 Props joemcgill, dmsnell.
 Fixes #59550.
 }}}

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


More information about the wp-trac mailing list