{"id":505,"date":"2007-03-14T08:12:26","date_gmt":"2007-03-14T13:12:26","guid":{"rendered":"http:\/\/adam.rosi-kessel.org\/weblog\/2007\/03\/14\/edit-comments-on\/"},"modified":"2007-03-14T09:00:13","modified_gmt":"2007-03-14T14:00:13","slug":"edit-comments-on","status":"publish","type":"post","link":"http:\/\/adam.rosi-kessel.org\/weblog\/2007\/03\/14\/edit-comments-on","title":{"rendered":"Edit Comments On"},"content":{"rendered":"<p>I added the <a href=\"http:\/\/code.jalenack.com\/archives\/edit-comments\/\">edit comments<\/a> plugin to this blog. After you leave a comment, you&#8217;ll have about 12 hours to come back and make changes. Authentication is based on IP address. It&#8217;s surprising that so few blogs implement such functionality, given how common it is to leave embarrassing typos or misspelled URLs in comments.<\/p>\n<p>One patch is needed for the plugin to work with the latest WordPress release. Specifically:<\/p>\n<p><small><code>$location = add_query_arg('jal_edit_comments', '', $_SERVER['HTTP_REFERER']);<\/code><\/small><\/p>\n<p>needs to be changed to:<\/p>\n<p><small><code>$location = add_query_arg('jal_edit_comments', FALSE, $_SERVER['HTTP_REFERER']);<\/code><\/small><\/p>\n<p>I&#8217;m sure this will be added to the mainline source soon. I had to fish the fix out of the 300+ comments on the page for the plugin.<\/p>\n<p>In other &#8220;this blog&#8221; news, I simplified the sidebar appearance and made all the long lists collapsed by default with CSS. Hopefully it renders well on all browsers. Lately, I&#8217;ve come to doubt the utility of &#8220;lists in sidebars&#8221; at all. Perhaps a person&#8217;s latest content preferences (books, film, music) aren&#8217;t that interesting after all.<\/p>\n<p>Incidentally, since I made the <a href=\"http:\/\/adam.rosi-kessel.org\/weblog\/2007\/01\/28\/blosxom-to-wordpress\/\">transition<\/a> to WordPress, I&#8217;ve found it much easier to keep this blog active.  Less time spent on administrative issues, and the web-based (rather than ssh&#8211;&gt;vim) posting just makes a lot more sense these days. Comment spam is virtually nonexistent. I can get an entry up in five minutes on the train in to work without hassle.  WordPress has also greatly reduced server load (perhaps because I had an inefficient blosxom setup). I recommend it.<\/p>\n<p>If you are already a WordPress user, as a public service announcement I&#8217;ll repeat the <a href=\"http:\/\/wordpress.org\/development\/2007\/03\/upgrade-212\/\">announcement<\/a> from about two weeks ago: <a href=\"http:\/\/wordpress.org\/development\/2007\/03\/upgrade-212\/\">WordPress 2.1.1 may be dangerous<\/a>:<\/p>\n<blockquote><p>Long story short: If you downloaded WordPress 2.1.1 within the past 3-4 days, your files may include a security exploit that was added by a cracker, and you should upgrade all of your files to 2.1.2 immediately.<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>I added the edit comments plugin to this blog. After you leave a comment, you&#8217;ll have about 12 hours to come back and make changes. Authentication is based on IP address. It&#8217;s surprising that so few blogs implement such functionality, given how common it is to leave embarrassing typos or misspelled URLs in comments. One [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[20],"tags":[],"_links":{"self":[{"href":"http:\/\/adam.rosi-kessel.org\/weblog\/wp-json\/wp\/v2\/posts\/505"}],"collection":[{"href":"http:\/\/adam.rosi-kessel.org\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/adam.rosi-kessel.org\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/adam.rosi-kessel.org\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/adam.rosi-kessel.org\/weblog\/wp-json\/wp\/v2\/comments?post=505"}],"version-history":[{"count":0,"href":"http:\/\/adam.rosi-kessel.org\/weblog\/wp-json\/wp\/v2\/posts\/505\/revisions"}],"wp:attachment":[{"href":"http:\/\/adam.rosi-kessel.org\/weblog\/wp-json\/wp\/v2\/media?parent=505"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/adam.rosi-kessel.org\/weblog\/wp-json\/wp\/v2\/categories?post=505"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/adam.rosi-kessel.org\/weblog\/wp-json\/wp\/v2\/tags?post=505"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}