The thousands of plugins in the repository are what make WordPress so powerful. With these plugins, you can mold the CMS into anything you need; finding and downloading any capability you might need to make your site work for you. However, not all of these plugins are being used. The WordPress.org Plugin Review Team announced they will be closing unused plugins in order to clear up space. According to the announcement, written by Mika Epstein, there are over 9,100 plugins that have been approved but are unused. That’s a huge amount of space that isn’t being properly utilized. If a […]
What You Should Do Before Changing Your Theme
One of the benefits of WordPress is the ability to change themes as often as you want. You can use themes and plugins to extend the functionality of your website so that you can get the site of your dreams, and with thousands of themes in the WordPress repository and elsewhere, there is practically no limit to the number of themes you can install. However, before you jump right into changing themes, there are a few crucial steps you need to take to ensure that the whole process runs smoothly and you do not lose vital information on your website. […]
Torque Toons: How To Prep Your WordPress Site for GDPR
4 easy steps to GDPR compliance. Don’t forget to check out our other editorial toons!
Designing Swappable Search Request Implementations – Code Review Part 4
In the last article, we identified that the task of generating posts, albeit arbitrary, is just one possible implementation of getting content for a search query. As such, we split the tasks of “getting content” and “generating posts” into separate methods. This design sets us up for a discussion about designing swappable search request implementations. Before we get started, I want to remind you that Josh designed this plugin for educational purposes in order to teach you Advanced OOP and testing. As you and I work through the code review together, the tasks of “getting content” reveals itself as a […]
Advanced OOP For WordPress Pt. 4: Setting Up With WordPress Test Suite For Integration Testing
In my previous articles in this series, I showed how to structure a WordPress plugin using object-oriented PHP. Then I covered unit testing. Unit tests cover each component, totally isolated from all other parts of the system. Unit tests should not be concerned with how the object interacts with any dependencies including the database and WordPress. Instead, once we have unit tests, we use integration tests to cover the effects of our code on the environment it is in. In general, we use phpunit for both types of tests. We just use them differently. We can think of phpunit as […]

No Comments