[wp-trac] [WordPress Trac] #57722: Loading property cannot be disabled in wp_get_attachment_image

WordPress Trac noreply at wordpress.org
Wed Feb 15 09:55:14 UTC 2023


#57722: Loading property cannot be disabled in wp_get_attachment_image
-------------------------------+------------------------------
 Reporter:  AlexHolsgrove      |       Owner:  (none)
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  6.1.1
 Severity:  normal             |  Resolution:  invalid
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by AlexHolsgrove):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Thanks @costdev - your test shows the function working correctly. I also
 moved this to my front-end template and also worked correctly.

 I can repeat my issue, however if I place the code inside a Gutenberg
 block template, using Advanced Custom Fields, so I believe the issue is
 with their plugin calling one of the filters.

 Happy to close this as a non-issue.

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


More information about the wp-trac mailing list