{"id":172015,"date":"2023-03-11T09:27:15","date_gmt":"2023-03-11T09:27:15","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/diff-check\/"},"modified":"2023-06-20T18:44:55","modified_gmt":"2023-06-20T18:44:55","slug":"diff-check","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/diff-check\/","author":20865762,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.2","stable_tag":"trunk","tested":"6.2.9","requires":"4.0","requires_php":"5.4","requires_plugins":null,"header_name":"Diff Check","header_author":"plugins.club","header_description":"Allows users to publicly display a side-by-side comparison of two texts or files.","assets_banners_color":"f9f8f5","last_updated":"2023-06-20 18:44:55","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/plugins.club\/free-wordpress-plugins\/diff-check\/","header_plugin_uri":"https:\/\/plugins.club\/free-wordpress-plugins\/diff-check\/","header_author_uri":"https:\/\/plugins.club","rating":0,"author_block_rating":0,"active_installs":10,"downloads":931,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","changelog"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":2878322,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.gif":{"filename":"banner-1544x500.gif","revision":2878481,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2878334,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"diff-check\/block":{"name":"diff-check\/block","title":"Diff Check"}},"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2878322,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2878471,"resolution":"2","location":"assets","locale":""}},"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[4352,218932,218930,60971,218931],"plugin_category":[],"plugin_contributors":[217324,174076],"plugin_business_model":[],"class_list":["post-172015","plugin","type-plugin","status-closed","hentry","plugin_tags-compare","plugin_tags-compare-two-files","plugin_tags-diffcheck","plugin_tags-difference","plugin_tags-text-difference","plugin_contributors-pluginsclub","plugin_contributors-stefanpejcic","plugin_committers-pluginsclub","plugin_support_reps-stefanpejcic"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/diff-check_f9f8f5.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/diff-check\/assets\/screenshot-1.png?rev=2878322","caption":""},{"src":"https:\/\/ps.w.org\/diff-check\/assets\/screenshot-2.png?rev=2878471","caption":""}],"raw_content":"<!--section=description-->\n<p>DiffCheck allows you to display side-by-side comparisons of two text files.<\/p>\n\n<p>This plugin is ultra-lightweight (7KB) and uses WordPress's already built-in revision function.<\/p>\n\n<p><strong>NEW!<\/strong> The plugin now supports Gutenberg and you can use the \"DiffCheck\" block to compare two texts.<\/p>\n\n<h4>How to compare two files?<\/h4>\n\n<p>On the post edit screen add <em>DiffCheck<\/em> block and inside it paste the text to be compared in two text areas.<\/p>\n\n<h4>How to compare two files using shortcodes?<\/h4>\n\n<p>To display difference between two files use the <em>[diff_check]<\/em> shortcode and pass attributes:<\/p>\n\n<p>To compare 2 texts use <em>text1<\/em> and <em>text2<\/em> attributes:<\/p>\n\n<pre><code>[diff_check text1=\"This is the first text area. It will be compared to the second text area.\" text2=\"This is the second text area. It will be compared to the first text area.\"]\n<\/code><\/pre>\n\n<p>To compare two text files use <em>file1<\/em> and <em>file2<\/em> attributes:<\/p>\n\n<pre><code>[diff_check file1=\"https:\/\/plugins.club\/demo\/wp-content\/plugins\/my-plugin\/text1.txt\" file2=\"https:\/\/plugins.club\/demo\/wp-content\/plugins\/my-plugin\/text2.txt\"]\n<\/code><\/pre>\n\n<!--section=changelog-->\n<h4>1.2<\/h4>\n\n<ul>\n<li>Added support for Cyrillic in gutenberg block - reported by @bsmolyanov<\/li>\n<li>Fixed CSS issue with wrong class names - reported by @bsmolyanov<\/li>\n<li>Added CSS to style the rows that have no diff<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Added gutenberg block<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<p>The first stable public version.<\/p>","raw_excerpt":"DiffCheck allows you to display side-by-side comparisons of two text files.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/172015","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=172015"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/pluginsclub"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=172015"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=172015"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=172015"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=172015"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=172015"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=172015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}