Skip to content

Instantly share code, notes, and snippets.

@Youssef-Mhamdi
Youssef-Mhamdi / WPMUDEV_Smush_Add_Smush_Missing_Table_smush_dir_images.php
Last active May 19, 2021 17:38
Mu Plugin that adds Smush Missing Table to DB to fix the message taht says: Directory smushing requires custom tables and it seems there was an error creating tables. For help, please contact our team on the support forums.
<?php
/**
* Plugin Name: [Smush] - Add smush_dir_images to DB
* Plugin URI: https://premium.wpmudev.org/
* Description: Add Smush Missing Table to DB to fix the message taht says: Directory smushing requires custom tables and it seems there was an error creating tables. For help, please contact our team on the support forums.
* Task: SLS-1383
* Author: Youssef Mhamdi @ WPMUDEV
* Author URI: https://premium.wpmudev.org/forums/profile/mhamdiyoussef/
* License: GPLv2 or later
*/