{"id":1057,"date":"2008-12-12T22:48:18","date_gmt":"2008-12-12T20:48:18","guid":{"rendered":"http:\/\/planetozh.com\/blog\/?page_id=1057"},"modified":"2010-08-12T23:52:46","modified_gmt":"2010-08-12T21:52:46","slug":"wordpress-functions-implementation-history-tool","status":"publish","type":"page","link":"https:\/\/planetozh.com\/blog\/my-projects\/wordpress-functions-implementation-history-tool\/","title":{"rendered":"WordPress Functions Implementation History Tool"},"content":{"rendered":"<p>For plugin developers worrying about compatibility through WordPress versions, it is sometimes important to know when a particular function was implemented (or dropped, even). Sometimes, the WordPress source is commented enough so that information is available. Sometimes, it&#39;s not and there is no easy way to obtain this information. I mean, till now of course :)<\/p>\n<h2>The WordPress Functions Implementation History<\/h2>\n<p>In a trendy axajified manner, the <a href=\"http:\/\/planetozh.com\/projects\/wordpress-functions-history\/\">WordPress Functions Implementation History Tool<\/a> will let you search across nearly 3900 functions through 56 WordPress releases, <a href=\"http:\/\/wordpress.org\/download\/release-archive\/\">from 0.71 to 3.0.1<\/a><\/p>\n<p><a href=\"http:\/\/planetozh.com\/projects\/wordpress-functions-history\/\"><img decoding=\"async\" class=\"imgcenter\" alt=\"Neat ajax interface to search through all functions in WordPress\" src=\"https:\/\/planetozh.com\/blog\/wp-content\/uploads\/2007\/10\/wp_history_ajax.gif\"\/><\/a><\/p>\n<h2>Static document<\/h2>\n<p>For the curious and those who would like a static list for their documenting needs, I&#39;m also releasing a map of WordPress functions through all these WP versions. It comes in either a compact list (3 columns: function name, introduced in, dropped in), or the complete map (beware, 3900 lines x 56 columns = more than 17 MB table, your browser wont like it)<\/p>\n<p>Light version (680 KB) :<br \/>\n<a href=\"http:\/\/planetozh.com\/projects\/wordpress-functions-history\/table_light.html\"><img decoding=\"async\" src=\"https:\/\/planetozh.com\/blog\/wp-content\/uploads\/2007\/10\/wp_history_light.gif\" alt=\"Light version\" class=\"imgcenter\"\/><\/a><\/p>\n<p>Mad version (17 MB) :<br \/>\n<a href=\"http:\/\/planetozh.com\/projects\/wordpress-functions-history\/table_full.html\"><img decoding=\"async\" src=\"https:\/\/planetozh.com\/blog\/wp-content\/uploads\/2007\/10\/wp_history_full1.gif\" alt=\"Full map\" \/><\/a><\/p>\n<h2>More or less noteworthy notes :<\/h2>\n<ul>\n<li>The regexp pattern used was the following, matching functions declared &quot;standalone&quot; or within classes:\n<div id=\"ig-sh-1\" class=\"syntax_hilite\">\n\n\t\t<div class=\"toolbar\">\n\n\t\t<div class=\"view-different-container\">\n\t\t\t\t\t\t<a href=\"#\" class=\"view-different\">&lt; View <span>plain text<\/span> &gt;<\/a>\n\t\t\t\t\t<\/div>\n\n\t\t<div class=\"language-name\">code<\/div>\n\n\t\t\n\t\t<br clear=\"both\">\n\n\t<\/div>\n\t\n\t<div class=\"code\">\n\t\t<ol class=\"code\" style=\"font-family:monospace\"><li style=\"font-weight: normal;vertical-align:top\"><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">grep -r -e '^\\s*function ' * &gt; functions.list<\/div><\/li>\n<\/ol>\t<\/div>\n\n<\/div>\n\n<\/li>\n<li>Functions from <em>wp-content\/<\/em> were excluded (i.e. the bundled themes and plugins)<\/li>\n<li>Javascript functions were excluded, some of them manually. There <em>might<\/em> be some survivors though :)<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>For plugin developers worrying about compatibility through WordPress versions, it is sometimes important to know when a particular function was implemented (or dropped, even). Sometimes, the WordPress source is commented enough so that information is available. Sometimes, it&#39;s not and there is no easy way to obtain this information. I mean, till now of course :) The WordPress Functions Implementation\u2026<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":241,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1057","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/pages\/1057","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/comments?post=1057"}],"version-history":[{"count":0,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/pages\/1057\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/pages\/241"}],"wp:attachment":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/media?parent=1057"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}