{"id":119594,"date":"2020-04-07T23:06:15","date_gmt":"2020-04-07T23:06:15","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/sweetalert2-for-cf7\/"},"modified":"2020-08-01T22:27:40","modified_gmt":"2020-08-01T22:27:40","slug":"addon-sweetalert-contact-form-7","status":"publish","type":"plugin","link":"https:\/\/test.wordpress.org\/plugins\/addon-sweetalert-contact-form-7\/","author":16324404,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.1","stable_tag":"trunk","tested":"5.5.18","requires":"","requires_php":"5.6","requires_plugins":"","header_name":"Add-on SweetAlert Contact Form 7","header_author":"Camilo","header_description":"Add SweetAlert2 script in Contact Form 7 submission process.","assets_banners_color":"","last_updated":"2020-08-01 22:27:40","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/addon-sweetalert-contact-form-7\/","header_author_uri":"https:\/\/camilowp.com\/","rating":3,"author_block_rating":0,"active_installs":100,"downloads":3389,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":2,"2":0,"3":0,"4":0,"5":2},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"2279783","resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"2279783","resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[5445,358,1152,5828,184086],"plugin_category":[42],"plugin_contributors":[169490],"plugin_business_model":[],"class_list":["post-119594","plugin","type-plugin","status-publish","hentry","plugin_tags-cf7","plugin_tags-contact-form","plugin_tags-contact-form-7","plugin_tags-sweet-alert","plugin_tags-sweetalert2","plugin_category-contact-forms","plugin_contributors-camilo517","plugin_committers-camilo517"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/addon-sweetalert-contact-form-7\/assets\/icon-128x128.png?rev=2279783","icon_2x":"https:\/\/ps.w.org\/addon-sweetalert-contact-form-7\/assets\/icon-256x256.png?rev=2279783","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin adds the <a href=\"https:\/\/sweetalert2.github.io\">SweetAlert2 script<\/a> into <a href=\"https:\/\/wordpress.org\/plugins\/contact-form-7\/\">Contact Form 7<\/a> wordpress plugin submission process.<\/p>\n\n<blockquote>\n  <p>This plugin requires the Contact Form 7 plugin to work.<\/p>\n<\/blockquote>\n\n<p>Just activate it to replace CF7 default submission output by a SweetAlert2 pop up.\nThe add-on will display the Contact Form 7 messages in the pop up.<\/p>\n\n<p>If you want, you can set a custom duration and a custom title for the alerts.<\/p>\n\n<p>This plugin is an enhancement to the plugin created by akandor, Antoine Derrien which was closed by WordPress security team<\/p>\n\n<p>Its base has been used and all this has been improved:\n-Load admin styles only on the settings page\n-Removed style sheets with little css content (It has been directly embedded, as it does not make sense load a sheet for a few lines)\n-Sanitize data input and output (Since it was vulnerable to XSS attacks)\n-Update css and js files from sweetalert (Since it was very outdated)\n-Show sweetalert icons again\n-Remove unnecessary code and files\n-Css fix, since there was conflict with some themes\n-Load the js and css only when the contact form shortcode is detected (Except a script)\n-Titles are now converted to uppercase by default<\/p>\n\n<h3>How does it work?<\/h3>\n\n<p>It enqueues scripts and styles to override CF7 submission process and surcharge it with SweetAlert2 scripts.<\/p>\n\n<!--section=installation-->\n<p>You can install automatically from WordPress.<\/p>\n\n<p>Or, if you want to install manually, follow these steps:<\/p>\n\n<ol>\n<li>Upload the entire 'addon-sweetalert-contact-form-7' folder to the '\/wp-content\/plugins\/' directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress admin.<\/li>\n<\/ol>\n\n<ul>\n<li>You can add a custom title and the time you want the pop-up to appear, within the contact form 7 options<\/li>\n<\/ul>\n\n<!--section=changelog-->\n<h4>1.1.0 (02\/08\/2020)<\/h4>\n\n<p>-Fix bugs\n-Update the sweetalert library<\/p>\n\n<h4>1.0.9 (22\/05\/2020)<\/h4>\n\n<p>-Improve WPO, remove external cdn<\/p>\n\n<h4>1.0.8 (21\/05\/2020)<\/h4>\n\n<p>-Fixed security issues reported by the WordPress security team<\/p>\n\n<h4>1.0.7 (10\/05\/2020)<\/h4>\n\n<p>-Fix bug IE compatibility\n-Improve WPO<\/p>\n\n<h4>1.0.6 (10\/05\/2020)<\/h4>\n\n<p>-Fix bug IE compatibility<\/p>\n\n<h4>1.0.5 (10\/05\/2020)<\/h4>\n\n<p>-Fix bug IE compatibility<\/p>\n\n<h4>1.0.4 (10\/05\/2020)<\/h4>\n\n<p>-IE compatibility<\/p>\n\n<h4>1.0.3 (16\/04\/2020)<\/h4>\n\n<p>-Fix bugs\n-Improved script loading\n-Improved checks\n-Added defer to improve WPO\n-Updated sweetalert2 libraries\n-Added unistall.php<\/p>\n\n<h4>1.0.2 (14\/04\/2020)<\/h4>\n\n<p>-Fix bugs\n-.pot added<\/p>\n\n<h4>1.0.1 (9\/04\/2020)<\/h4>\n\n<p>-Fix bugs\n-images added<\/p>\n\n<h4>1.0.0 (7\/04\/2020)<\/h4>\n\n<p>-Initial version<\/p>","raw_excerpt":"Add SweetAlert2 script into Contact Form 7 submission process.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/119594","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=119594"}],"author":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/camilo517"}],"wp:attachment":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=119594"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=119594"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=119594"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=119594"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=119594"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=119594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}