3 min read 0 Code Enable Specific PHP Version in VVV for WP CLI Curtis McHale October 24, 2023 Out of the box Varying Vagrant Vagrants lets you define a PHP version to use for each site you’re adding…
1 min read 0 Code Deleting 20,000 Spam WordPress Users with WP CLI Curtis McHale July 20, 2023 While doing a site inspection I noticed that we had over 20,000 spam subscribers on the site with addresses that…
2 min read 0 Code Traversing Directories to Pull Git Repositories Curtis McHale June 26, 2023 My current WordPress project has multiple custom plugins and themes with different repositories. Since I manage 80+ sites, I also…
3 min read 0 Code Adding Plugin Version Number to Enqueued Scripts and Styles Curtis McHale June 6, 2023 For a long time, I manually changed the $version parameter when I was using wp_enqueue_script or wp_enqueue_style. At some point,…
1 min read 0 Code Chrome Update Not Quite Working in Fedora 38 Curtis McHale May 30, 2023 After running sudo dnf update && sudo dnf upgrade today Chrome wasn’t working as expected. Icons weren’t showing on the…
3 min read 0 Code Your Code Should Gracefully Degrade Curtis McHale May 30, 2023 One of the biggest tips I’d give to any new programmers is that your code should gracefully degrade. Let’s look…
1 min read 0 Code Adding Random Content to WordPress via WP CLI Curtis McHale May 18, 2023 Right now I’m working on a Google Analytics 4 integration that needs some data and views. To get the clicks/views…
1 min read 0 Code Checking Which PHP Libraries are on your Server Curtis McHale May 16, 2023 Google Analytics 4 API requires the bcmath PHP extension to be installed but not every server will have it. To…
3 min read 0 eCommerce Do You Need Cloudflare Page Shield? Curtis McHale February 23, 2023 We recently received an email from Cloudflare about their Page Shield service and I was asked if we needed to…
3 min read 0 Code Features I Love in PHP 8 Curtis McHale December 20, 2022 PHP 7.4 went end of life at the end of November 2022 so I’ve been digging into what PHP 8…