My First WordPress Patch

This post should have been published a few months ago, but for some reason I’ve delayed it week after week. Last week I’ve started writing the blog post and I’ve ended up with a draft with a story, which isn’t related to the patch at all, so I’ve decided to leave this draft for another post. Anyway, more for that later 🙂

Long story short – since WordPress 4.3. I’m a WordPress core contributor, which means that I have my code in software running 25% of the web market share. Pretty cool, right? 🙂

Not having a patch into the core was something that bothered me for quite some time and I really wanted to add my contribution, even it’s something small and it’s a few lines of code.

The Patch itself

I was lucky enough, because this was my first patch ever and it was accepted after a few weeks after submission and from what I’ve heard, that’s not always the case. I remember that one night I got back home after playing football with friends, I took a shower and I’ve decided to open the trac and check some tickets, instead of going to bed. I’ve spent a few hours, reading comments, following different tickets, testing patches, etc and I saw this ticket. I’ve decided to give a try and submit a patch because the ticker was easy enough to work on it. As you can see, there was already an attached patch, but the change didn’t fix the issue for me, so I’ve submitted a new patch, with a few pixels more. As you can see Helen used a number between the suggested values and the patch was added to the core.

Changeset 33107 – WordPress Trac

Like you’ve noticed, nothing fancy, nothing special, but with this small change, we’ve fixed an issue and that’s the important part! One of the reasons I’m writing this blog post is that every one contribution is welcomed (I’ve already said that, right? :D), so a personal advice – don’t be scared, don’t be shy. The core team is hospitable, especially for a first timers and they will give a change, guidance and advice, if needed, so feel free to send patches!

Now, a few weeks before the official release of WordPress 4.4 I have 7 merged patches and I’m really looking forward this release, because it’s going to be an awesome one! Also in the very next day, the next version is going to start the development process which means that there will be a room for new contributors and patches 🙂

Stanko Metodiev is a WordPress veteran and the CTO of DevriX. For the past 12 years Stanko has been developing complex SaaS platforms, multisite solutions, migrating various systems to WordPress, managing a team of developers and leading a few key international projects in the company. In the past years, Stanko is the lead organizer of the WordPress Sofia User Group (WPBGUG) and has been a part of the organization of WordCamp Sofia and WordCamp Bulgaria. In his portfolio, you can find free themes and plugins on, and badges of his membership in the WordPress support, polyglots, theme reviews teams. Stanko is a fan of Real Madrid and often watches football games in shisha bars with friends and with his family at home. Also an avid fan of Counter-Strike and an active member of the remote work culture worldwide.

Tagged with: , , , ,
Posted in Personal, WordPress
No Comments » for My First WordPress Patch
3 Pings/Trackbacks for "My First WordPress Patch"
  1. […] Metodiev, project manager for Devrix, shares his experience contributing a patch to WordPress core for the first time. While browsing Trac, Metodiev discovered a bug report with […]

  2. […] Metodiev, project manager for Devrix, shares his experience contributing a patch to WordPress core for the first time. While browsing Trac, Metodiev discovered a bug report with […]

  3. […] project manager of DevriX named Stanko Metodiev share his first-time participation in contributing a patch to WordPress core. As Medtodiev browsing Trac, he found out a bug report with the menu customizer. […]

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.

A proud DevriX team member

WordPress Development agency building complete solutions for successful businesses.

WordPress Core Contributions
  • [49216] Bundled Themes: Import Twenty Twenty-One, the new default theme for ...
  • [43345] I18N: Remove unused MediaElement.js strings. Props metodiew. See ...
  • [42160] About: Fix grammar typo with pluralization. Props metodiew, ...
  • [42159] About: Fix grammar typo with pluralization. Props metodiew, ...
  • [41339] Widgets: Use `word-wrap: break-word` for available widget ...

View all 15 tickets on Trac.

Recent Posts
Recent Comments