{"id":141627,"date":"2021-06-02T04:30:03","date_gmt":"2021-06-02T04:30:03","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/noncensible\/"},"modified":"2025-10-28T06:20:42","modified_gmt":"2025-10-28T06:20:42","slug":"noncensible","status":"publish","type":"plugin","link":"https:\/\/az-tr.wordpress.org\/plugins\/noncensible\/","author":15662658,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.0","stable_tag":"1.2.0","tested":"6.8.5","requires":"2.5.0","requires_php":"5.4.0","requires_plugins":null,"header_name":"Noncensible","header_author":"Roy Orbitson","header_description":"Plugs some default WordPress functions to ensure nonces have a guaranteed lifespan. This ensures forms, actions, and URLs do not expire prematurely.","assets_banners_color":"","last_updated":"2025-10-28 06:20:42","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/profiles.wordpress.org\/lev0\/","rating":0,"author_block_rating":0,"active_installs":20,"downloads":1506,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"lev0","date":"2023-02-17 06:17:12"},"1.1.0":{"tag":"1.1.0","author":"lev0","date":"2024-05-06 08:58:08"},"1.2.0":{"tag":"1.2.0","author":"lev0","date":"2025-10-28 06:20:42"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon.svg":{"filename":"icon.svg","revision":2540988,"resolution":false,"location":"assets","locale":false}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0","1.2.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[146,11161,1452,247,200007],"plugin_category":[52,54],"plugin_contributors":[156431],"plugin_business_model":[],"class_list":["post-141627","plugin","type-plugin","status-publish","hentry","plugin_tags-cache","plugin_tags-nonce","plugin_tags-optimize","plugin_tags-performance","plugin_tags-stability","plugin_category-performance","plugin_category-security-and-spam-protection","plugin_contributors-lev0","plugin_committers-lev0"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/noncensible\/assets\/icon.svg?rev=2540988","icon":"https:\/\/ps.w.org\/noncensible\/assets\/icon.svg?rev=2540988","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The core functions' documentation states that nonces, small validity tokens used throughout WordPress core and other plugins, have a lifespan of 1 day, however they can last as little as half that time. For common usage that may not be a problem, but if that lifespan is relied upon in any meaningful way, inexplicable failures can occur. For example, filters that shorten the lifespan may randomly make it difficult to complete some tasks before their nonce expires. Very long lifespans, such as those set by many caching and SEO optimization plugins, can result in forms and other actions suddenly breaking before the cached content expires and new nonces get generated. Imagine a contact form that's cached for a week but stops working after 4 days, then starts working again if that cache is cleared. A cursory search for terms like <code>caching nonce expired wordpress<\/code> yields many results for relevant problems.<\/p>\n\n<p>This plugin guarantees a nonce will last <em>at least<\/em> as long as it's intended to, but up to \u215b of a lifepsan more. By default, this means a nonce will last from 24 up to 27 hours, rather than anywhere from 12 to 24 hours. It was created because changing the behaviour of such old code was deemed inappropriate (in <a href=\"https:\/\/core.trac.wordpress.org\/ticket\/53236\">ticket #53236<\/a>), given the functions are pluggable.<\/p>\n\n<p>Hourglass icon by <a href=\"https:\/\/www.flaticon.com\/authors\/mavadee\">mavadee<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install the plugin in the usual way, through the admin interface by uploading manually or searching on the <strong>Plugins<\/strong> page.<\/li>\n<li>Clear <em>all<\/em> caching plugins' content.<\/li>\n<li>Test that forms, etc. on your site are still working. You may need to force-reload affected pages first, and clear your browser's cache.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.2.0<\/h4>\n\n<p>Make the <code>NONCENSIBLE_TICKS_PER_NONCE_LIFE<\/code> constant overridable in config, in case you want lower or higher resolution than 8, but still need the guaranteed lifespan.<\/p>\n\n<h4>1.1.0<\/h4>\n\n<p>Compatibility with WP v6.1: passing <code>wp_verify_nonce()<\/code>'s <code>$action<\/code> parameter to <code>wp_nonce_tick()<\/code>.<\/p>","raw_excerpt":"Provides sensible replacements of default nonce generation functions to more accurately reflect their expected behaviour.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/141627","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=141627"}],"author":[{"embeddable":true,"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/lev0"}],"wp:attachment":[{"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=141627"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=141627"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=141627"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=141627"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=141627"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/az-tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=141627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}