{"id":77421,"date":"2017-11-10T13:48:14","date_gmt":"2017-11-10T13:48:14","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/wp-wrap-images\/"},"modified":"2018-01-06T22:01:14","modified_gmt":"2018-01-06T22:01:14","slug":"wp-wrap-images","status":"closed","type":"plugin","link":"https:\/\/pcm.wordpress.org\/plugins\/wp-wrap-images\/","author":14942582,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.1.1","stable_tag":"trunk","tested":"4.8.28","requires":"4.6","requires_php":"","requires_plugins":"","header_name":"WP Wrap Images","header_author":"NewCity  <geeks@insidenewcity.com>","header_description":"Wrap all images inserted into the WYSIWYG in a figure tag,","assets_banners_color":"","last_updated":"2018-01-06 22:01:14","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"http:\/\/insidenewcity.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1474,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1763146","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1763146","resolution":"256x256","location":"assets"}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[163,84,357,2303],"plugin_category":[43,46,50],"plugin_contributors":[149110],"plugin_business_model":[],"class_list":["post-77421","plugin","type-plugin","status-closed","hentry","plugin_tags-images","plugin_tags-media","plugin_tags-shortcodes","plugin_tags-wysiwyg","plugin_category-customization","plugin_category-editor-and-writing","plugin_category-media","plugin_contributors-jajanowiak","plugin_committers-jajanowiak"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-wrap-images.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Wraps all images inserted into a WYSIWYG field from the Add Media interface with the <code>[caption]<\/code> shortcode, even if no caption is assigned to the image. The end result is that all images will be wrapped with a <code>&lt;figure&gt;<\/code> element, even if no caption is assigned to the image. Compatible with the standard Wordpress tinyMCE editor and the <a href=\"https:\/\/www.advancedcustomfields.com\/\">Advanced Custom Fields<\/a> WYSIWYG field type.<\/p>\n\n<p>For bleeding-edge updates, or to report issues, visit the <a href=\"https:\/\/github.com\/newcity\/wp-wrap-images\">WP Wrap Images Github repository<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/plugin-name<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>This plugin has no settings to configure -- once it is activated, it starts doing it's work immediately<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/plugin-name<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>This plugin has no settings to configure -- once it is activated, it starts doing it's work immediately<\/li>\n<\/ol><\/dd>\n<dt>What if I'm already replacing the `[caption]` shortcode in my theme or another plugin?<\/dt>\n<dd><p>This plugin adds a replacement <code>[caption]<\/code> filter to the <code>img_caption_shortcode<\/code> hook, using the default filter priority of 10. This will interact unpredictably with other filters using the same hook at the same priority, and will override any similar filters using a lower priority.<\/p>\n\n<p>If you want to use this plugin in combination with a different caption override filter, and you have control over the priority setting of that filter, you should assign your filter a priority value greater than <code>10<\/code>.<\/p>\n\n<p>This plugin will be useless with any different <code>[caption]<\/code> shortcode replacement that ignores images without captions.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.1.0<\/h4>\n\n<p>Fixed a bug where the closing bracket on HTML tags preceding an image tag would be deleted when the shortcode was applied.<\/p>\n\n<h4>0.1.0<\/h4>\n\n<ul>\n<li>First release of the plugin<\/li>\n<\/ul>","raw_excerpt":"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.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/77421","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=77421"}],"author":[{"embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jajanowiak"}],"wp:attachment":[{"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=77421"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=77421"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=77421"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=77421"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=77421"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=77421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}