Skip to content

Images should be added using wp_get_attachment_image() or similar functions #1073

@mauteri

Description

@mauteri

Describe the bug

wp-org-plugin-guidelines is throwing a warning on an image that should use wp_get_attachment_image(). It may be, but might be early and not here so throwing the warning. Best to fix this to work as expected to get rid of the warning. See screenshot for details.

Image

Steps to Reproduce

Pretty much every PR calls this out.

Screenshots, screen recording, code snippet

No response

Environment information

No response

WordPress information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions