{"id":1341,"date":"2009-12-10T19:31:02","date_gmt":"2009-12-11T00:31:02","guid":{"rendered":"http:\/\/sexybookmarks.net\/?p=832"},"modified":"2014-05-07T11:12:43","modified_gmt":"2014-05-07T15:12:43","slug":"v2-6-1-released-and-ready","status":"publish","type":"post","link":"https:\/\/www.shareaholic.com\/blog\/v2-6-1-released-and-ready\/","title":{"rendered":"SexyBookmarks v2.6.1 Released and Ready"},"content":{"rendered":"<p class=\"usernotice fs_v2 fs_12\">This blog post was originally posted on the SexyBookmarks&#8217; blog. <strong><a href=\"https:\/\/www.shareaholic.com\">Shareaholic<\/a><\/strong> has since taken over the <a href=\"https:\/\/www.shareaholic.com\/blog\/2010\/04\/shareaholic-acquires-wildly-popular-sexybookmarks-wordpress-plugin-over-200000-downloads\/\">responsibility<\/a> for the continued development and improvement of SexyBookmark publisher plugins!<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignleft size-full wp-image-1560\" title=\"261\" alt=\"261\" src=\"https:\/\/www.shareaholic.com\/blog\/wp-content\/uploads\/2009\/12\/261.jpg\" width=\"200\" height=\"200\" \/><\/p>\n<p>You can all put your torches and pitchforks away now, as I&#8217;ve finally released <strong>v2.6.1<\/strong> of SexyBookmarks! This version fixes all of the bugs that were brought about by the previous 2.6.0 release, while still keeping all of the features from that release.<\/p>\n<h3 class=\"replaceme\">API, oh sweet fleeting API&#8230;<\/h3>\n<p>I also made it a point to ensure that the hundreds of you who have emailed me with bug reports about <strong><em>SexyBookmarks<\/em><\/strong> giving you an error that reads:<\/p>\n<blockquote><p>An unknown http error occured during the API request<\/p><\/blockquote>\n<p>&#8230;now have no reason to pin that WordPress error on SexyBookmarks from here on out. I&#8217;ve removed any and all API requests from the plugin, so there CAN&#8217;T be anyway that it could possibly give you that error now. This is a twofold benefit for most of you, as this means there will no longer be any sort of update reminders, whether in the plugin options page or not.<\/p>\n<h3 class=\"replaceme\">Already found a bug&#8230;<\/h3>\n<p>As with any new release, I&#8217;m bound to miss something here and there&#8230; Thankfully, someone alerted me to this error quickly after I released this latest version. So now I can post up a temporary solution until I have enough bugs to warrant another release.<\/p>\n<p>The problem lies in the function which fetches the short URL for Twitter. I goofed and didn&#8217;t think to check for the use of Twitter Friendly Links when I added a fix by Gautam Gupta, so if you choose the Twitter Friendly Links plugin as your URL shortener, they&#8217;re not going to work in this version. Instead, it will simply use the permalink.<\/p>\n<p>There is, however, a solution to the problem that doesn&#8217;t require much in the way of coding skills. Just follow the directions below and you should be good to go.<\/p>\n<ol class=\"steplist\">\n<li>\n<h4>Login to your site via FTP<\/h4>\n<\/li>\n<li>\n<h4>Navigate to <em>wp-content\/plugins\/sexybookmarks\/includes<\/em><\/h4>\n<\/li>\n<li>\n<h4>Locate the file <em>public.php<\/em> and open it in your preferred text editor<\/h4>\n<\/li>\n<li>\n<h4>Scroll down to line <em>246<\/em><\/h4>\n<p>This line should look like this:<\/p>\n<pre lang=\"php\">$fetch_url = sexy_get_fetch_url();<\/pre>\n<\/li>\n<li>\n<h4>Now simply replace that line with the following:<\/h4>\n<pre lang=\"php\">\/\/ Fix for faulty insertion of TFLP function above\r\nif($sexy_plugopts['shorty'] == \"tflp\" &amp;&amp; function_exists('permalink_to_twitter_link')) {\r\n  $fetch_url = permalink_to_twitter_link($perms);\r\n}\r\nelse {\r\n  $fetch_url = sexy_get_fetch_url();\r\n}<\/pre>\n<\/li>\n<li>\n<h4>Save your changes<\/h4>\n<\/li>\n<li>\n<h4>Upload the file back to your server<\/h4>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>This blog post was originally posted on the SexyBookmarks&#8217; blog. Shareaholic has since taken over the responsibility for the continued development and improvement of SexyBookmark&hellip;&nbsp;<br \/><a class=\"continue-reading\" href=\"https:\/\/www.shareaholic.com\/blog\/v2-6-1-released-and-ready\/\">Continue Reading<\/a><\/p>\n","protected":false},"author":6,"featured_media":17679,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[525],"tags":[80,86,87,88,386,4,125,130,527,529,151],"_links":{"self":[{"href":"https:\/\/www.shareaholic.com\/blog\/wp-json\/wp\/v2\/posts\/1341"}],"collection":[{"href":"https:\/\/www.shareaholic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shareaholic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shareaholic.com\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shareaholic.com\/blog\/wp-json\/wp\/v2\/comments?post=1341"}],"version-history":[{"count":0,"href":"https:\/\/www.shareaholic.com\/blog\/wp-json\/wp\/v2\/posts\/1341\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.shareaholic.com\/blog\/wp-json\/wp\/v2\/media\/17679"}],"wp:attachment":[{"href":"https:\/\/www.shareaholic.com\/blog\/wp-json\/wp\/v2\/media?parent=1341"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shareaholic.com\/blog\/wp-json\/wp\/v2\/categories?post=1341"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shareaholic.com\/blog\/wp-json\/wp\/v2\/tags?post=1341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}