{"id":1462,"date":"2010-08-13T16:13:35","date_gmt":"2010-08-13T14:13:35","guid":{"rendered":"http:\/\/planetozh.com\/blog\/?p=1462"},"modified":"2010-08-13T16:19:05","modified_gmt":"2010-08-13T14:19:05","slug":"evolution-of-the-number-of-functions-in-wordpress","status":"publish","type":"post","link":"https:\/\/planetozh.com\/blog\/2010\/08\/evolution-of-the-number-of-functions-in-wordpress\/","title":{"rendered":"Evolution of the Number of Functions in WordPress"},"content":{"rendered":"<p>A few fun and useless facts I collected while mining through 54 WordPress releases, from 0.7.1 to 3.0.1:<\/p>\n<ul>\n<li>The latest version of WordPress, 3.0.1 as of publishing, has 3240 PHP functions defined.<\/li>\n<li>The first version (0.7.1) had 309<\/li>\n<li>Across all WordPress versions, 3920 PHP functions have been defined and used<\/li>\n<li>On average, each &quot;.X&quot; release (2.1, 2.9&#8230;) introduces 225,2 new functions<\/li>\n<li>Only one release went on a diet: version 1.2.1 had 23 functions less than its predecessor, version 1.0.2<\/li>\n<\/ul>\n<p>Have a look at my Excel mad skillz showing the evolution of the total number of functions defined in WordPress:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/planetozh.com\/blog\/wp-content\/uploads\/2010\/08\/wordpress-functions-total1.gif\" alt=\"\" title=\"wordpress-functions-total\" width=\"528\" height=\"388\" class=\"aligncenter size-full wp-image-1464\" \/><\/p>\n<p>The following graphs shows how many functions have been added (ie functions added minus functions removed) in each version.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/planetozh.com\/blog\/wp-content\/uploads\/2010\/08\/wordpress-functions-added-removed.gif\" alt=\"\" title=\"wordpress-functions-added-removed\" width=\"486\" height=\"339\" class=\"aligncenter size-full wp-image-1463\" srcset=\"https:\/\/planetozh.com\/blog\/wp-content\/uploads\/2010\/08\/wordpress-functions-added-removed.gif 486w, https:\/\/planetozh.com\/blog\/wp-content\/uploads\/2010\/08\/wordpress-functions-added-removed-300x209.gif 300w\" sizes=\"auto, (max-width: 486px) 100vw, 486px\" \/><\/p>\n<p>To my surprise, the biggest evolution has been in <a href=\"http:\/\/codex.wordpress.org\/Version_2.8\">WordPress 2.8<\/a> ; I would have predicted that the inclusion of multisite functions in <a href=\"http:\/\/codex.wordpress.org\/Version_3.0\">3.0<\/a> would have a larger impact.<\/p>\n<p>For the curious and nitpickers: <a href=\"http:\/\/spreadsheets.google.com\/pub?key=0ArW2i8i-I2D8dGZXeFpvek5fM3FHYmlUcFhWc1NXOHc&#038;hl=en&#038;output=html\">data sheet used<\/a>.<\/p>\n<p>(If that post sparkled some interest, be sure not to miss <a href=\"http:\/\/planetozh.com\/blog\/2008\/12\/a-journey-through-five-years-of-wordpress-interface\/\">A journey through 5 years of WP interface<\/a>, you&#39;ll like it)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A few fun and useless facts I collected while mining through 54 WordPress releases, from 0.7.1 to 3.0.1: The latest version of WordPress, 3.0.1 as of publishing, has 3240 PHP functions defined. The first version (0.7.1) had 309 Across all WordPress versions, 3920 PHP functions have been defined and used On average, each &quot;.X&quot; release [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[246,74,49,245],"class_list":["post-1462","post","type-post","status-publish","format-standard","hentry","category-published","tag-functions","tag-stats","tag-useless","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/posts\/1462","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"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=1462"}],"version-history":[{"count":0,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/posts\/1462\/revisions"}],"wp:attachment":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/media?parent=1462"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/categories?post=1462"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/tags?post=1462"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}