{"id":4301535,"date":"2013-11-09T06:22:32","date_gmt":"2013-11-09T06:22:32","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/update-function\/"},"modified":"2016-08-21T12:23:48","modified_gmt":"2016-08-21T12:23:48","slug":"update-function","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/update-function\/","title":{"rendered":"update function"},"content":{"rendered":"<p>Just a heads up, your update function doesn&#8217;t work, because on line 63 of redirectify.php, it gets the option of galleryify_db_version, which is not the option name. It is redirectify_db_version. It looks like you recycled your code and ended up with this minor glitch.<\/p>\n<p>But because of it, it is going to update the database every time you browse to a different page, which will add to load times, and I&#8217;m sure that&#8217;s not what you intended!<\/p>\n<p>Just wanted to let you know.<\/p>\n<p>https:\/\/wordpress.org\/plugins\/redirectify\/<\/p>\n","protected":false},"template":"","class_list":["post-4301535","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4301535","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4301535\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=4301535"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}