In May 2018 we acquired two plugins hosted in the WordPress repository – wp-reset and reset-wp (which will soon be removed from the repo, so don’t use it). The initial plan was to get only one, but in the end, we got both plugins which created some unique challenges. This is a story of how we merged two plugins, rebranded them and brought new life into them after years of sitting dormant in the repository.
The WordPress database abstraction layer, more commonly know as wpdb is a class based on ezSQL responsible for interacting with the database. The wpdb class is also a drop-in – a piece of core WP code that can easily be replaced by another piece of code with similar functionality. Extending and modifying wpdb is simple through the custom db.php drop-in file.