{"id":25781,"date":"2013-10-20T12:08:25","date_gmt":"2013-10-20T12:08:25","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/scancircle\/"},"modified":"2026-01-17T11:40:05","modified_gmt":"2026-01-17T11:40:05","slug":"scancircle","status":"publish","type":"plugin","link":"https:\/\/ca-valencia.wordpress.org\/plugins\/scancircle\/","author":13219975,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.9.3","stable_tag":"2.9.3","tested":"6.9.4","requires":"2.5","requires_php":"","requires_plugins":null,"header_name":"ScanCircle","header_author":"Arnoud Klaren","header_description":"","assets_banners_color":"fdc67d","last_updated":"2026-01-17 11:40:05","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/scancircle","header_author_uri":"","rating":5,"author_block_rating":0,"active_installs":60,"downloads":5930,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.18":{"tag":"1.18","author":"aklaren","date":"2013-10-20 17:51:11"},"1.19":{"tag":"1.19","author":"aklaren","date":"2013-11-04 10:00:41"},"1.20":{"tag":"1.20","author":"aklaren","date":"2013-11-19 01:10:50"},"1.23":{"tag":"1.23","author":"aklaren","date":"2014-09-07 13:01:29"},"1.24":{"tag":"1.24","author":"aklaren","date":"2014-10-15 20:24:38"},"1.27":{"tag":"1.27","author":"aklaren","date":"2015-03-23 23:23:46"},"1.31":{"tag":"1.31","author":"aklaren","date":"2015-12-17 00:15:26"},"1.32":{"tag":"1.32","author":"aklaren","date":"2018-07-02 08:14:43"},"1.43":{"tag":"1.43","author":"aklaren","date":"2020-04-29 21:50:02"},"2.0":{"tag":"2.0","author":"aklaren","date":"2024-11-12 08:35:07"},"2.9.2":{"tag":"2.9.2","author":"aklaren","date":"2024-11-27 14:38:33"},"2.9.3":{"tag":"2.9.3","author":"aklaren","date":"2026-01-17 11:40:05"}},"upgrade_notice":{"2.9.3":"<ul>\n<li>Update to avoid abuse of event attributes in IFRAME<\/li>\n<\/ul>","2.9.2":"<ul>\n<li>Update to show correct version number<\/li>\n<\/ul>","2.9.1":"<ul>\n<li>Update to avoid failing retrieval of plugin version<\/li>\n<\/ul>","2.9":"<ul>\n<li>Upgrade if others can publish any type of post on your website<\/li>\n<\/ul>","2.0":"<ul>\n<li>Upgrade if you want to include the ScanCircle result pages on your own website<\/li>\n<\/ul>","1.43":"<ul>\n<li>Upgrade if you use the Speedometer option<\/li>\n<\/ul>","1.32":"<ul>\n<li>Upgrade if you want to use new options<\/li>\n<\/ul>","1.31":"<ul>\n<li>Upgrade if https does not work by default<\/li>\n<\/ul>","1.27":"<ul>\n<li>Upgrade if you want to use https by default<\/li>\n<\/ul>","1.24":"<ul>\n<li>Upgrade if your website uses https<\/li>\n<\/ul>","1.23":"<ul>\n<li>Only need to upgrade if you want to use the <code>category<\/code> option<\/li>\n<\/ul>","1.20":"<ul>\n<li>Upgrade if you want to validate the data entered into the input field and\/or want to use multiple input fields<\/li>\n<\/ul>","1.19":"<ul>\n<li>Only need to upgrade if you need to access PHP variables<\/li>\n<\/ul>","1.18":"<ul>\n<li>First release<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":3},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":983606,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":983606,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":790915,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.18","1.19","1.20","1.23","1.24","1.27","1.31","1.32","1.43","2.0","2.9.2","2.9.3"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":1310460,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"Scan widget wizard to generate the shortcode with the options you need."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[485,1181,55026,80,162],"plugin_category":[43],"plugin_contributors":[93986],"plugin_business_model":[],"class_list":["post-25781","plugin","type-plugin","status-publish","hentry","plugin_tags-button","plugin_tags-scan","plugin_tags-scancircle","plugin_tags-shortcode","plugin_tags-widget","plugin_category-customization","plugin_contributors-aklaren","plugin_committers-aklaren"],"banners":{"banner":"https:\/\/ps.w.org\/scancircle\/assets\/banner-772x250.png?rev=790915","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/scancircle\/assets\/icon-128x128.png?rev=983606","icon_2x":"https:\/\/ps.w.org\/scancircle\/assets\/icon-256x256.png?rev=983606","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/scancircle\/assets\/screenshot-1.jpg?rev=1310460","caption":"Scan widget wizard to generate the shortcode with the options you need."}],"raw_content":"<!--section=description-->\n<p>Only for registered ScanCircle partners. See the <a href=\"https:\/\/www.scancircle.com\/scancircle\/partner-program\">ScanCircle partner program<\/a>.<\/p>\n\n<p>Login to your ScanCircle partner page and select the Scan Widget tab to generate the required ScanCircle shortcode and copy\/paste it into your post.<\/p>\n\n<!--section=installation-->\n<p>Manual installation:<\/p>\n\n<ol>\n<li>Upload the folder <code>scancircle<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the <code>scancircle<\/code> plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Place the <code>[scancircle ...]<\/code> or <code>[scancircle_results ...]<\/code> shortcode in your pages\/posts<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20can%20i%20change%20the%20styling%20of%20the%20scan%20button%20or%20the%20text%3F\"><h3>How can I change the styling of the scan button or the text?<\/h3><\/dt>\n<dd><p>See <a href=\"https:\/\/www.scancircle.com\/forum\/showthread.php?tid=154\">this post<\/a> in the ScanCircle partner forum<\/p><\/dd>\n<dt id=\"what%20is%20the%20%5Bscancircle_results%20...%5D%20shortcode%20for%3F\"><h3>What is the [scancircle_results ...] shortcode for?<\/h3><\/dt>\n<dd><p>Using this shortcode, you can show the results in an IFRAME on your own website.\n1. Set the \"Own results page\" to e.g. https:\/\/domain.com\/results?language=%s&amp;advice=%s&amp;reference=%s\n2. On this page include the shortcode [scancircle_results partner=\"PARTNER-CODE\" param=\"URL-PARAMETER\" IFRAME-ATTRIBUTES], where \n- PARTNER-CODE is your partner code (this prevents cross site scripting with non-ScanCircle URLs: only http(s):\/\/PARNER-CODE.scancircle.com\/... allowed)\n- URL-PARAMETER is the name of the URL parameter containing the results URL (in this example \"advice\")\n- IFRAME-ATTRIBUTES are optional IFRAME attributes (e.g. width=\"X\" height=\"Y\" class=\"Z\")<\/p><\/dd>\n<dt id=\"can%20i%20use%20the%20shortcodes%20in%20a%20template%3F\"><h3>Can I use the shortcodes in a template?<\/h3><\/dt>\n<dd><p>Yes, but you need the do_shortcode function as in: &lt;?php echo do_shortcode('[scancircle...]'); ?&gt;&gt;<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.9.3 - 2024-12-03<\/h4>\n\n<ul>\n<li>Restricted [scancircle_results] attributes to prevent abuse of event attributes in IFRAME<\/li>\n<\/ul>\n\n<h4>2.9.2 - 2024-11-27<\/h4>\n\n<ul>\n<li>Fixed incomplete update of version number<\/li>\n<\/ul>\n\n<h4>2.9.1 - 2024-11-27<\/h4>\n\n<ul>\n<li>Fixed small issue to retrieve plugin version<\/li>\n<\/ul>\n\n<h4>2.9 - 2024-11-27<\/h4>\n\n<ul>\n<li>Added various input validations due to possible security issue reported by Wordfence in CVE-2024-11439 (thanks to zakaria)<\/li>\n<li>Removed deprecated <code>[phpvar]<\/code> shortcode<\/li>\n<\/ul>\n\n<h4>2.0 - 2020-07-23<\/h4>\n\n<ul>\n<li>Added shortcode [scancircle_results partner=\"PARTNER-CODE\" param=\"URL-PARAMETERS\" IFRAME-ATTRIBUTES]<\/li>\n<\/ul>\n\n<h4>1.43 - 2018-11-14<\/h4>\n\n<ul>\n<li>Load ScanCircle JavaScript using wp_enqueue_script to ensure jQuery is loaded (if needed)<\/li>\n<\/ul>\n\n<h4>1.32 - 2015-12-16<\/h4>\n\n<ul>\n<li>Generalized the plugin to cater for future options so new options do not require a new version of the plugin.<\/li>\n<li>The <code>[phpvar]<\/code> shortcode has been deprecated as there are standard ways and plugins to do this (functionality will remain for the time being)<\/li>\n<\/ul>\n\n<h4>1.31 - 2015-11-02<\/h4>\n\n<ul>\n<li>For some reason, version 1.27 actually still used v1.24. Updated version number to force a new update and updated support to WP4.3.1.<\/li>\n<\/ul>\n\n<h4>1.27 - 2015-03-23<\/h4>\n\n<ul>\n<li>Changed <code>https<\/code> option to load scancircle.js using HTTPS by default unless https=0 is specified. Link to partner environment always uses HTTP (only used if JavaScript is not loaded correctly)<\/li>\n<\/ul>\n\n<h4>1.24 - 2014-10-13<\/h4>\n\n<ul>\n<li>Load scancircle.js and\/or link to partner environment using https, <code>https<\/code> option added to select which: 2=both, 1=JavaScript only, 0=none (default)<\/li>\n<\/ul>\n\n<h4>1.23 - 2014-08-04<\/h4>\n\n<ul>\n<li><code>category<\/code> option added to indicate the purpose of the scan page and\/or reference code, entered data will be prepended to the reference code (separated by a colon)<\/li>\n<\/ul>\n\n<h4>1.20 - 2013-11-18<\/h4>\n\n<ul>\n<li><code>inputs<\/code> option added to support multiple input fields (names separated by semicolon), entered data will be joined (separated by semicolons)<\/li>\n<li><code>validation<\/code> option added to check input field for required data, e-mail address, phone number, any regular expression or using a custom function<\/li>\n<li><code>require<\/code> option now deprecated (converted to <code>prompt<\/code> option and <code>validation=\"required\"<\/code> for backward compatibility)<\/li>\n<li><code>jquery<\/code> option added to run script when document.ready (mainly for Joomla web sites which requires  tag in header)<\/li>\n<\/ul>\n\n<h4>1.19 - 2013-11-04<\/h4>\n\n<ul>\n<li>Added <code>[phpvar]<\/code> shortcode to retrieve the PHP superglobals $_GET, $_POST and $_SERVER<\/li>\n<li>Required to get the value of URL parameters, post variables, initiating web pages, etc.<\/li>\n<li>Added because they may be needed for ScanCircle and I could not find an easy way or simple plugin to achieve this<\/li>\n<\/ul>\n\n<h4>1.18 - 2013-10-07<\/h4>\n\n<ul>\n<li>First release<\/li>\n<\/ul>","raw_excerpt":"Shortcode handler for the scan widget on ScanCircle partner websites.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ca-valencia.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/25781","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ca-valencia.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ca-valencia.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ca-valencia.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=25781"}],"author":[{"embeddable":true,"href":"https:\/\/ca-valencia.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/aklaren"}],"wp:attachment":[{"href":"https:\/\/ca-valencia.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=25781"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ca-valencia.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=25781"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ca-valencia.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=25781"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ca-valencia.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=25781"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ca-valencia.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=25781"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ca-valencia.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=25781"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}