{"id":148137,"date":"2021-10-10T05:40:04","date_gmt":"2021-10-10T05:40:04","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/cf7-mime-type-check\/"},"modified":"2021-10-10T05:39:46","modified_gmt":"2021-10-10T05:39:46","slug":"cf7-mime-type-check","status":"publish","type":"plugin","link":"https:\/\/lmo.wordpress.org\/plugins\/cf7-mime-type-check\/","author":14853831,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"trunk","tested":"5.8.13","requires":"5.7","requires_php":"7.0","requires_plugins":"","header_name":"Mime Type Check for Contact Form 7","header_author":"Umar Khan","header_description":"This plugin will let you add the functionality in Contact Form 7 File fields to validate it by mime types","assets_banners_color":"","last_updated":"2021-10-10 05:39:46","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/hmumarkhan.com\/","header_plugin_uri":"","header_author_uri":"https:\/\/hmumarkhan.com\/","rating":0,"author_block_rating":0,"active_installs":20,"downloads":1116,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0.0":"<p>Plugin Developed.<\/p>"},"ratings":[],"assets_icons":{"icon-256\u00d7256.jpg":{"filename":"icon-256\u00d7256.jpg","revision":2611988,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2611988,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"This screen shot is showing how we can change the file type extension but not the mime type"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[5445,260,43167,724],"plugin_category":[42],"plugin_contributors":[204078],"plugin_business_model":[],"class_list":["post-148137","plugin","type-plugin","status-publish","hentry","plugin_tags-cf7","plugin_tags-file","plugin_tags-mimetype","plugin_tags-validation","plugin_category-contact-forms","plugin_contributors-hmumarkhan","plugin_committers-hmumarkhan"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/cf7-mime-type-check\/assets\/icon-256\u00d7256.jpg?rev=2611988","icon_2x":"https:\/\/ps.w.org\/cf7-mime-type-check\/assets\/icon-256\u00d7256.jpg?rev=2611988","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/cf7-mime-type-check\/assets\/screenshot-1.png?rev=2611988","caption":"This screen shot is showing how we can change the file type extension but not the mime type"}],"raw_content":"<!--section=description-->\n<p>Mime Type Check for Contact Form 7 plugin is created after a problem arises in CF7 file upload validation, CF7 is a widely used plugin but there was a problem in validation of file mime type. The CF7 validation was only validating the file on the extension<\/p>\n\n<ul>\n<li>File type changes by renaming it to allowed types in operating system as shown in screenshot<\/li>\n<li>Uploaded using CF7 upload and it was uploaded susscessfully.<\/li>\n<li>Installed the plugin and now file is validating on mime type. Renamed allwoed extensions are not catered.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>cf7-mime-type-check<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='will%20this%20plugin%20add%20any%20tab%20in%20cf7'><h3>Will this plugin add any tab in CF7<\/h3><\/dt>\n<dd><p>There is no change in UI, just one more layer added for file mime type validation.<\/p><\/dd>\n<dt id='do%20we%20need%20to%20do%20any%20setting%20for%20this%20plugin'><h3>Do we need to do any setting for this plugin<\/h3><\/dt>\n<dd><p>There is no special setting needed, it will work on CF7 filetypes validation.<\/p><\/dd>\n<dt id='can%20we%20ammend%20the%20error%20messages'><h3>Can we ammend the error messages<\/h3><\/dt>\n<dd><p>You can use the same error messages setting provided in CF7.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Plugin Developed.<\/li>\n<\/ul>","raw_excerpt":"This plugin will let you add the functionality in Contact Form 7 File fields to validate it by mime types.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/148137","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=148137"}],"author":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/hmumarkhan"}],"wp:attachment":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=148137"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=148137"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=148137"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=148137"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=148137"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=148137"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}