Software Engineering in WordPress, PHP, and Backend Development

Author: Tom (Page 308 of 427)

WordPress Theme Updates and Semantic Versioning

Maybe I’m more observant than I used to be, or maybe there is a trend that’s actually happening, but one thing that I’ve noticed is that more and more WordPress developers are beginning to take interest in semantic versioning.

In short (and straight from the website), semantic versioning works like this:

Given a version number MAJOR.MINOR.PATCH, increment the:

  1. MAJOR version when you make incompatible API changes,
  2. MINOR version when you add functionality in a backwards-compatible manner, and
  3. PATCH version when you make backwards-compatible bug fixes.

Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.

Easy enough to remember, right?

One of the things that sticks out, however, is that certain parts are meant to be updated and changed when there are “incompatible API changes”, when there are backwards-compatibility changes, and when there re bug fixes (and, in which I include, hot fixes).

This clearly makes sense in the context of a larger application such as, you know, WordPress itself, but Themes?

Let’s be honest: most WordPress Theme Updates don’t necessary fall under these same changes because they don’t have an API. Even more so, it raises the question of what would be considered a backwards-compatible change?

Or do they?

The more I’ve given this some thought, the more I think semantic versioning works just fine for WordPress theme updates, and it’s something that I’d love to see continued to be implemented.

Continue reading

The WordPress Theme Customizer: When Live Preview Doesn’t Work

I’m currently working on a lengthy set of articles that are intended to provide an in-depth look at the WordPress Theme Customizer. Yes, there has been a lot of material already written on this subject.

Some of the best articles are:

And though I’ve done work with the Theme Customizer in the past, there have been a few gotchas that I’ve found when trying to work with the customer starting from the ground up.

I don’t plan to document them all here, but if you happen to be working with the Theme Customizer and you’re specifically trying to get the “Live Preview” function working and it’s not, perhaps this will help.

Continue reading

Yesterday, I share a bit about a Tumblr that was recently started focusing specifically on Developer Practices.

In short, the blog is nothing more than a collection of animated GIFs that are a humorous attempt to look the developer best practices. But based on some feedback, others want to contribute.

And I love that.

Continue reading

Blogging is Narcissistic (Except When It’s Not)

One of the things that’s becoming more and more common is that certain critics are claiming that we’re becoming more and more of a narcissistic society with our constant sharing of things on Facebook, Twitter, Instagram, blogs, and so on.

I don’t know if I observation really holds water or not – rarely are things black and white, so I’m sure it’s true in some cases – but I’ve never really considered blogging in and of itself of be narcissistic.

This isn’t to say it can’t be, but I don’t think that it – as a medium – is meant to feed that particular aspect of the human condition.

Continue reading

There are two absolutely amazing things that the Internet has brought us:

  1. Animated GIFs
  2. Memes

And when you combine the two together, you get some seriously good stuff, right?

Continue reading

« Older posts Newer posts »

© 2025 Tom McFarlin

Theme by Anders NorenUp ↑