Open
Description
Related to this sniff:
ERROR | PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage | Images should be added using wp_get_attachment_image() or similar functions
The problem here is that plugins have their own <img src="<?php echo esc_url( $image_from_plugin) ); ?>" ... />
image tags output. These trigger the ERROR
which seems like it should be a WARNING
perhaps?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment