Making PHP Singletons Safe for WP Plugins
Typically, Singletons are a really bad idea. But they make sense in WordPress for several reasons, let’s take a deeper look.
Typically, Singletons are a really bad idea. But they make sense in WordPress for several reasons, let’s take a deeper look.
This is part of our ongoing celebration of the 20th Anniversary of WordPress. Lana Miro with Crocoblock Check out these WordPress origin stories from the team at Crocoblock that Lana Miro shared with us. You’ll find stories from: Share Your WordPress Story We want to know your WordPress story too! Tell us how you got…
What’s the best approach to maintenance — in software, sailing, or anything else? Hope for the best? Stewart Brand takes a famous solo, non-stop, round-the-world sailing race as a parable about maintenance styles that will win, go beyond winning, or drive you mad.
Run this query to reset all posts featured images to the first uploaded image in that post.
Also in PHP 7 land, WordPress core committer Joe McGill documented his process of upgrading a Digital Ocean droplet on WordPress to PHP 7, and from HTTP to HTTPS. I think his definition of easy is different than mine, but he brings up a couple of good ideas for how WordPress can do a better…
How a function that doesn’t do anything can save your life. Well, not really, but close. _n_noop() can be very interesting, especially for APIs in larger plugins.
As developers, we are still not doing enough to make the web accessible to all types of users. In this story, David Ball spends a week pretending to be blind on the internet. He learned some interesting things, but in short: it sucks. We can do better. Read that post, and check out Dave Rupert’s…