{"id":64287,"date":"2014-08-06T08:34:56","date_gmt":"2014-08-06T08:34:56","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/post-anonymous-comments\/"},"modified":"2014-08-06T08:34:56","modified_gmt":"2014-08-06T08:34:56","slug":"post-anonymous-comments","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/post-anonymous-comments\/","author":13984529,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"","stable_tag":"trunk","tested":"","requires":"","requires_php":"","requires_plugins":"","header_name":"post-anonymous-comments","header_author":"","header_description":"","assets_banners_color":"","last_updated":"2014-08-06 08:34:56","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/JamesMcFall\/WordpressAnonymousComments\/archive\/master.zip","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":357,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":[],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-64287","plugin","type-plugin","status-closed","hentry","plugin_committers-jamesmcfall"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/post-anonymous-comments.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"","raw_excerpt":"<p>Post Anonymous Comments<\/p>\n<p>This is a basic little plugin I built to give me anonymous commenting functionality on a website I was working on. It works by performing two actions:<\/p>\n<p># Adding an &quot;Post anonymously&quot; checkbox to the comment form<br \/>\nThis uses the comment_form_defaults hook to add a checkbox in after the comment_field textarea.<\/p>\n<p># Removing the user ID from the comment before it is saved to the database<br \/>\nUsing the preprocess_comment hook this plugin strips out the user id from the comment before it is inserted into the database. I tried just overwriting the name, but Wordpress quickly repopulated these details by doing a user lookup with the ID. So I remove the user ID and change the name (and email) to &quot;Anonymous&quot;.\n<\/p>","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/64287","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=64287"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jamesmcfall"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=64287"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=64287"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=64287"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=64287"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=64287"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=64287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}