{"id":306235,"date":"2026-05-06T07:05:08","date_gmt":"2026-05-06T07:05:08","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/chuck365-fact-viewer\/"},"modified":"2026-05-06T07:12:30","modified_gmt":"2026-05-06T07:12:30","slug":"papy3d-fact-viewer-for-chuck365","status":"publish","type":"plugin","link":"https:\/\/hr.wordpress.org\/plugins\/papy3d-fact-viewer-for-chuck365\/","author":23489995,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.0.5","stable_tag":"2.0.5","tested":"6.9.4","requires":"6.0","requires_php":"","requires_plugins":null,"header_name":"Papy3D Fact Viewer for Chuck365","header_author":"papy3d","header_description":"Displays a unique and different Chuck Norris fact every day via the official Chuck365.fr API.","assets_banners_color":"4e2a11","last_updated":"2026-05-06 07:12:30","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/Papy-3D-Factory\/Papy3D-Fact-Viewer-for-Chuck365","header_author_uri":"https:\/\/papy-3d-factory.xyz","rating":0,"author_block_rating":0,"active_installs":0,"downloads":24,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"2.0.5":{"tag":"2.0.5","author":"papy3d","date":"2026-05-06 07:12:30"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3525088,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3525088,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772\u00d7250.png":{"filename":"banner-772\u00d7250.png","revision":3525064,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"papyfavi\/viewer":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"papyfavi\/viewer","title":"Chuck Norris Fact du jour","category":"widgets","icon":"superhero","description":"Affiche un fait de Chuck Norris chaque jour via l'API officielle.","textdomain":"papy3d-fact-viewer-for-chuck365","version":"2.0.5","supports":{"html":false,"anchor":true},"attributes":{"borderColor":{"type":"string"},"bgColor":{"type":"string"},"textColor":{"type":"string"},"title":{"type":"string","default":"Chuck Norris Fact du jour"},"showCopyright":{"type":"boolean","default":true}},"style":"papyfavi-style","editorScript":"papyfavi-editor-script","viewScript":"papyfavi-view-script"}},"tagged_versions":["2.0.5"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1556,17503,28922,148076,8468],"plugin_category":[],"plugin_contributors":[261992],"plugin_business_model":[],"class_list":["post-306235","plugin","type-plugin","status-publish","hentry","plugin_tags-api","plugin_tags-chuck-norris","plugin_tags-facts","plugin_tags-gutenberg","plugin_tags-humor","plugin_contributors-papy3d","plugin_committers-papy3d"],"banners":{"banner":"https:\/\/ps.w.org\/papy3d-fact-viewer-for-chuck365\/assets\/banner-772\u00d7250.png?rev=3525064","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/papy3d-fact-viewer-for-chuck365\/assets\/icon-128x128.png?rev=3525088","icon_2x":"https:\/\/ps.w.org\/papy3d-fact-viewer-for-chuck365\/assets\/icon-256x256.png?rev=3525088","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p><strong>Papy3D Fact Viewer for Chuck365<\/strong> is a modern and lightweight plugin designed to add a touch of humor to your WordPress site. It automatically retrieves a unique Chuck Norris \"fact\" every day via the official Chuck365.fr API.<\/p>\n\n<p>The plugin is built with performance and security as top priorities:<\/p>\n\n<ul>\n<li><strong>Optimal Performance<\/strong>: It utilizes the native WordPress Transients API to cache the daily fact locally, ensuring your site remains fast and minimizes external server requests.<\/li>\n<li><strong>Maximum Security<\/strong>: Developed according to 2026 coding standards, the plugin includes strict data sanitization, XSS protection, and CSRF validation.  <\/li>\n<li><strong>Full Customization<\/strong>: A dedicated administration panel allows you to adjust colors, titles, and display options to perfectly match your theme.<\/li>\n<\/ul>\n\n<p><strong>Note on External Services<\/strong>: This plugin connects to <code>https:\/\/chuck365.fr\/api.php<\/code> (API) to fetch daily facts. This is a mandatory external service for the plugin to function as intended.<\/p>\n\n<h3>External services<\/h3>\n\n<p>This plugin connects to the Chuck365.fr API to retrieve a unique Chuck Norris fact each day. This external connection is required for the plugin to function.<\/p>\n\n<p><strong>Service:<\/strong> Chuck365.fr API (<code>https:\/\/chuck365.fr\/api.php<\/code>)\n<strong>Purpose:<\/strong> Fetching the daily Chuck Norris fact displayed in the widget.\n<strong>Data sent:<\/strong> A standard HTTP GET request with a User-Agent header identifying the plugin version. No personal user data is collected or transmitted.\n<strong>When:<\/strong> Once per day, when the daily cache (WordPress Transient) has expired. Regular site visitors never trigger a direct API call.\n<strong>Service provider:<\/strong> Chuck365.fr, operated by Papy 3D Factory.\n- Terms of service: https:\/\/chuck365.fr\/terms.html\n- Privacy policy: https:\/\/chuck365.fr\/privacy.html\n- API documentation : https:\/\/chuck365.fr\/api-doc.html (fr\/en)<\/p>\n\n<h4>Donation button (optional)<\/h4>\n\n<p>The \"Support the project\" tab contains an optional PayPal donation button.\nClicking it redirects to paypal.com. No data is sent automatically \u2014\nit is only triggered by a voluntary user click.\nTerms: https:\/\/www.paypal.com\/us\/legalhub\/useragreement-full\nPrivacy: https:\/\/www.paypal.com\/us\/legalhub\/privacy-full<\/p>\n\n<!--section=installation-->\n<ul>\n<li><strong>Download<\/strong>: Obtain the plugin folder.  <\/li>\n<li><strong>Upload<\/strong>: Move the folder to the <code>\/wp-content\/plugins\/<\/code> directory of your WordPress installation.  <\/li>\n<li><strong>Activate<\/strong>: Enable the plugin through the 'Plugins' menu in your WordPress dashboard.  <\/li>\n<li><strong>Configure<\/strong>: Visit the <strong>\"Chuck365\"<\/strong> settings page to customize your widget\u2019s appearance.  <\/li>\n<li><strong>Display<\/strong>: You can showcase the facts using the <strong>\"Chuck365 Fact\"<\/strong> block within the Gutenberg editor or the <code>[papyfavi_fact]<\/code> shortcode.<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20plugin%20affect%20site%20speed%3F\"><h3>Does this plugin affect site speed?<\/h3><\/dt>\n<dd><p>No. By using the WordPress Transients API, the fact is fetched once a day and stored in your database, meaning no external API call is made for regular visitors.<\/p><\/dd>\n<dt id=\"can%20i%20hide%20the%20copyright%20link%3F\"><h3>Can I hide the copyright link?<\/h3><\/dt>\n<dd><p>Yes, you can toggle the copyright display in the plugin settings menu.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.5<\/h4>\n\n<ul>\n<li>Fix: Gutenberg editor no longer ignores admin color settings when inserting a new block.<\/li>\n<li>Fix: Corrected a JavaScript error in <code>edit.js<\/code> where <code>papyfaviDefaults<\/code> was read incorrectly, causing colors to fall back to hardcoded values instead of admin settings.<\/li>\n<li>Fix: Removed hardcoded <code>default<\/code> values from <code>block.json<\/code> attributes (<code>borderColor<\/code>, <code>bgColor<\/code>, <code>textColor<\/code>, <code>title<\/code>) to allow proper fallback to admin settings.<\/li>\n<li>Improvement: Admin color settings are now injected as Gutenberg block defaults via <code>enqueue_block_editor_assets<\/code> hook, ensuring new blocks always reflect the configured style.<\/li>\n<li>Maintenance: Incremented version to 2.0.5 and cleaned up the readme.txt file.<\/li>\n<\/ul>\n\n<h4>2.0.4<\/h4>\n\n<ul>\n<li>Security: Added <code>rest_sanitize_boolean<\/code> to the <code>papyfavi_show_copyright<\/code> setting for better data validation.<\/li>\n<li>Maintenance: Incremented version to 2.0.4 and cleaned up the readme.txt file.<\/li>\n<li>Updated: Language files and Gutenberg color handling.<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Security improvements.<\/li>\n<li>Fixed JSON error handling using JsonException.<\/li>\n<\/ul>","raw_excerpt":"Displays a unique and different Chuck Norris fact every day via the official Chuck365.fr API.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/hr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/306235","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/hr.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/hr.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=306235"}],"author":[{"embeddable":true,"href":"https:\/\/hr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/papy3d"}],"wp:attachment":[{"href":"https:\/\/hr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=306235"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/hr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=306235"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/hr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=306235"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/hr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=306235"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/hr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=306235"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/hr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=306235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}