I upgraded from MySQL 5.7 to 8.0, but found that the service wouldn't start. I was able to fix it by manually re-running the upgrade process.
I've been learning Ruby during my sabbatical, and found the exercises from Exercism.io a great way to do that. Manually running the unit tests was tedious, though, so I setup Guard to do it automatically whenever I save a file.
WordPress allows you to have multiple theme directories, but moving themes from one to another may result in a fatal error. It's possible to fix that by updating a few options and clearing a transient.
"Even though we might have some very, very strong disagreements as we develop this thing called WordPress, at the end of the day, I think we all agree that when it impacts people's lives positively like that, it's really really special."
If QuickTime exports a stereo recording with an empty right channel, you can use ffmpeg to easily copy the left channel to the right one, for a proper mono recording.
I needed a list of countries where ideographic languages are common, but couldn't find a pre-made one. I was able to build one myself, though, which will hopefully save others from having to do the same.
I wanted to figure out how to record both a Skype conversation and my mic in GarageBand, but keep them on separate tracks. None of the tutorials worked for me, so I'm posting the settings that did.
I ran into an undocumented and unexpected problem when registering custom post type meta fields for the REST API.
register_meta()exposes meta fields in all REST API endpoints, which can lead to privacy leaks. To avoid that, it can be called conditionally.
Ever wonder why your IDE complains that your widget's
form()method isn't returning a value?
git svn dcommitfails, it'll appear as if your local commit have been lost, but there's a way to recover them.
Almost every software company claims copyright on their developers' side-projects in order to protect themselves from lawsuits, but there's a way to do it without taking away the employee's rights.
It turns out there's a much better way to fetch post meta than
get_post_meta( $post->ID, 'foo', true ):
Unfortunately, the WordPress.org plugin repository doesn’t provide a way to maintain your plugin with Git. In the past, I’ve either just used Subversion, or hosted an extra copy on GitHub, and setup Git and SVN side-by-side in the same directory. Awhile ago, I briefly considered using git-svn, because it would allow me to avoid using Subversion entirely, […]
I wanted to update the database prefix one this site, but most of the tutorials out there have you do it manually. There are some plugins available, but I didn’t trust most of them, and the ones that I did were kind of bloated with other features, and I didn’t want to mess with the […]
We’ve opened the call for speakers for this year’s WordCamp Seattle. Give it a shot if you have any ideas, best practices, use cases, or stories you want to share with the community. I think people are often hesitant to put themselves out there, and that’s definitely understandable, but the WordPress community is really welcoming, and I think […]
I just finished the first version of a new WordPress installation template called Regolith. I’ve been using my personalized fork of Mark Jaquith’s WordPress Skeleton for the past several years, but recently came across Bedrock and really liked it. I started playing around with it, but quickly discovered that the tools and practices it embraced were a bit overkill for […]
I ran into some trouble setting up Deployer on Media Temple's Grid service, and it took me awhile to find out the answer, so I figured I'd share it here.
TL;DR: DreamHost kills processes on their shared hosting plans if they run too long, which can screw up all kinds of things in non-obvious ways. To fix it, either disable lots of plugins, or upgrade to a better hosting plan. I spent too much time this week trying to track down this issue for a […]