On November 26, PHP 8 will be released to the world. PHP 8 is set to become one of the most breaking PHP releases in the history of PHP and will bring along unprecedented challenges for legacy PHP codebases, like WordPress, to fix compatibility. Today we bring you a comprehensive report on WordPress and PHP …Read: "The 2020 WordPress and PHP 8 compatibility report"
Recent WordPress articles
Yoast SEO 14.0 was a release that needed quite a few patches so far. We're sorry about that. In building Yoast SEO 14.0 we made a mistake: we bypassed wpdb. That caused issues and errors for some users when they tried to upgrade, which we're very sorry about. This post explains the mistakes we made, …Read: "Yoast SEO 14.0.x; or "Why you should never bypass wpdb""
Last September, we released our first digital story; Diversity, inequality, and prejudice; a sociological exploration. This is the first in what will, hopefully, become a small series of stories that really define our mission, company culture, and broader vision. With these stories, we want to explore the possibilities the WordPress block editor has to offer …Read: "Digital storytelling in the age of blocks"
Testing WordPress plugins can be difficult, especially during development, when you want the feedback loops to be small. A local development environment can help. This enables you to test your plugin on a local WordPress installation, running on your own computer, without the need for a live website. However, setting one up can be difficult, …Read: "Setting up a WordPress development environment in Docker"
Composer is a dependency management tool. It allows you to add libraries as a dependency, so you don’t have to solve every problem yourself. You can make use of the solutions provided by others to save yourself some time and likely account for edge-cases you hadn’t even thought of. Why would you use dependencies? For …Read: "Composer dependencies in WordPress plugins"
Every developer has the habit to reinvent the wheel. We search for excuses to do everything ourselves, such as "Ah no, that thing doesn't fully cover what I need" and "I don't trust code I didn't write myself". That's too bad because others might have fixed the same issues you ran into. In this post, …Read: "Is there a plugin for that?"
Unit-testing your WordPress plugin can be challenging. Luckily there are tools out there making it a lot easier. In this post, we will be covering the following tools: PHPUnit, Mockery and BrainMonkey. Together these tools can be a powerful tool to ensure the technical quality of your plugin. Before we started using these tools at …Read: "Unit-testing with mocks in WordPress"