by jajanowiak on WordPress.org
Wraps all images inserted into a WYSIWYG field from the Add Media interface with the [caption] shortcode, even if no caption is assigned to the image.
Wraps all images inserted into a WYSIWYG field from the Add Media interface with the [caption] shortcode, even if no caption is assigned to the image. The end result is that all images will be wrapped with a element, even if no caption is assigned to the image. Compatible with the standard WordPress tinyMCE editor and the Advanced Custom Fields WYSIWYG field type.
For bleeding-edge updates, or to report issues, visit the WP Wrap Images Github repository