Transcript
Page 1: The code history of WordPress

The code history of WordPress

WordCamp Paris - 2014

Page 2: The code history of WordPress

Who I am?• Marko Heijnen - @markoheijnen

• Working at 1&1 as their WordPress specialist

• WordPress core contributor

• GlotPress core developer - @GlotPress

• Co author of WP_Image_Editor

Page 3: The code history of WordPress

Our timeline• 2003 - WordPress was founded

• 2005 - WordPress 2.0 got released

• 2006 - I started to use WordPress

• 2010 - My first contribution to WordPress

• 2012 - Recent rockstar of 3.4

• 2013 - WordPress becomes 10

• 2013 - 3.8 was the 21 major release

Page 4: The code history of WordPress

January 17, 2014 at 08:07

Page 5: The code history of WordPress

The first couple of years I missed

Page 6: The code history of WordPress

I would say the golden years

Page 7: The code history of WordPress

It was founded by

Matt Mullenweg Mike Little

Page 8: The code history of WordPress

It all started almost 11 years ago when Matt

wrote a blog post

Page 9: The code history of WordPress
Page 10: The code history of WordPress

The comment

Page 11: The code history of WordPress

And WordPress was born

Page 12: The code history of WordPress

But what were the most important changes that happened in the code?

Page 13: The code history of WordPress

Post MetaWhen was this added to WordPress?

Page 14: The code history of WordPress

0.70• WordPress had its first release as a fork of

b2 on May 27, 2003

• A lot of code cleanups to make it more stable and faster

• Functions like texturize and manual excerpt were added

Page 15: The code history of WordPress

1.0 “Miles Davis”• Search engine friendly

permalinks

• Multiple categories

January 3, 2004

Page 16: The code history of WordPress

1.2 “Charles Mingus”• Post meta

• New plugin architecture

• Encryption of password

• Localization

• Sub categories

• Thumbnail creation

May 22, 2004

Page 17: The code history of WordPress

The WordPress Plugin Repository

• On January 10, 2005 the WordPress Plugin repository was announced

• It was then on WP-Plugins.org

• It was focused on Trac since it didn’t have a user friendly front-end, yet

Page 18: The code history of WordPress

1.5 “Billy Strayhorn”• The basic template engine

was added

• Pages was added

February 17, 2005

Page 19: The code history of WordPress

2.0 “Duke Ellington”• AJAX functionality got added

• Capability API

• Inline uploading

• User level options

• Pluggable object cache

• Functions.php was added

• Nonces 2.0.3

December 31, 2005

Page 20: The code history of WordPress

2.1 “Ella Fitzgerald”• Autosave

• All queries got checked

• More AJAX

• Cron API

• WP_Error class was added

January 22, 2007

Page 21: The code history of WordPress

2.2 “Stan Getz”• Widgets API

• Started using jQuery

• PHPMailer got added

• Increased the inline documentation

May 16, 2007

Page 22: The code history of WordPress

The first unit tests gotSeptember 20, 2007

Page 23: The code history of WordPress

2.3 “Dexter Gordon”• Updating system

• Taxonomy API got added

• Canonical URLs

• $wpdb->prepare()

• Activation protection

• Restructure of wp-admin folder

September 24, 2007

Page 24: The code history of WordPress

2.5 “Michael Brecker”• Shortcode API

• Multi-file upload with progress bar

• EXIF extraction

• Search posts and pages

• Installing/updating plugins

March 29, 2008

22 contributors

Page 25: The code history of WordPress

2.6 “McCoy Tyner”• Post Revisions

• Full SSL support

• Theme previews

July 15, 2008

75 contributors

Page 26: The code history of WordPress

2.7 “John Coltrane”• HTTP API

• Uninstall a plugin

• Settings API

• wp_page_menu()

• Plugin installer

• WordPress upgrader

December 10, 2008

144 contributors

Page 27: The code history of WordPress

2.8 “Chet Baker”• New Widgets API

• HTTP API updates and fixes

• Search/Install themes

June 11, 2009

Page 28: The code history of WordPress

2.9 “Carmen McRae”• Built-in image editor

• Post thumbnails

• Basic post type support

• Meta data for comments

• oEmbed

December 18, 2009

140> contributors

Page 29: The code history of WordPress

3.0 “Thelonious Monk”• WordPress MU merged

• Custom menus

• Custom post type support

• Lots of other improvements

June 17, 2010

218 contributors

Page 30: The code history of WordPress
Page 31: The code history of WordPress

3.1 “Django Reinhardt”• Admin bar

• WP_User_Query

• Advanced queries

• List-type Admin Screens

February 23, 2011

180> contributors

Page 32: The code history of WordPress

3.2 “George Gershwin”• Moved to PHP 5 and MySQL 5

• Speed improvements

• WP_Meta_Query

July 4, 2011

133 contributors

Page 33: The code history of WordPress

3.3 “Sonny Stitt”• New editor API

• Post-slug-only permalinks

• is_main_query()

• WP_Screen

• Metadata API improvements

December 12, 2011

179 contributors

Page 34: The code history of WordPress

3.4 “Grant Green”• Theme customizer

• wp.* XML-RPC methods

• WP_Theme

June 13, 2012

183 contributors

Page 35: The code history of WordPress

More awareness for out unit tests

Page 36: The code history of WordPress

3.5 “Elvin Jones”• WP_Image_Editor

• switch_to_blog()

• Underscore/Backbone

• WP_Comment_Query and WP_User_Query excepting meta queries

December 11, 2012

260 contributors

Page 37: The code history of WordPress

3.5 “Elvin Jones”• WP_Post

• Ordering by post__in

• AJAX support functions like wp_send_json_success()

December 11, 2012

260 contributors

Page 38: The code history of WordPress

3.6 “Oscar Peterson”• Audio/Video support

• Better control for revisions

• has_shortcode()

• Heartbeat API

August 1, 2013

225 contributors

Page 39: The code history of WordPress

3.7 “Count Basie”• Automattic updates

• Stronger passwords

• Language packs

• Cleanup tickets

• Better documentation

• Improved Search

• Date queries

October 24, 2013

211 contributors

Page 40: The code history of WordPress

3.8 “Charlie Parker”• Heartbeat performance and

API improvements

• Nginx detection

• automatic_updates_complete

December 12, 2013

188 Contributors

Page 41: The code history of WordPress

A great progress was made

Page 42: The code history of WordPress

Backwards compatibility

Page 43: The code history of WordPress

The market

Page 44: The code history of WordPress

PHP versions

Page 45: The code history of WordPress

Our tools• Official GIT mirrors

• Grunt

• JSHint

• Unit testing PHP and JS

• Minification

• Sass

Page 46: The code history of WordPress

The future• 2014 looks like a great year for new API

features like:

• WP API

• Media improvements

• Post Meta library

• More see: http://make.wordpress.org/core/features-as-plugins/

Page 47: The code history of WordPress

WPCentral.io• @WPCentralio

• Work in progress

• If you like to see this information back in a interactive way

• Currently building the features like:

• Download & Version history

• Timeline of features

Page 48: The code history of WordPress

Questions?@markoheijnen - http://markoheijnen.com