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 technical lead and a Project Manager at DevriX. Here is also a WordPress Core contributor, themes and plugins author and occasional speaker.

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

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

A proud DevriX team member

WordPress Development agency building complete solutions for successful businesses.

DX GitHub Badge
WordPress Core Contributions
  • [38892] Twenty Seventeen: Resolves the pin icon having variations This fixes the ...
  • [37985] Docs: Use 3-digit, x.x.x-style semantic versioning for ...
  • [35739] Set Twenty Sixteen as the default theme. With thanks to all those who ...
  • [35304] Customizer: Make the widgets "Reorder" and "Add a Widget" buttons... ...
  • [34634] Feature Image: Improve the preview for transparent background images by ...

View all 10 tickets on Trac.

Recent Posts
Recent Comments
Archives
Categories