diff --git a/classes/plugin.php b/classes/plugin.php index 35497fc..9834701 100644 --- a/classes/plugin.php +++ b/classes/plugin.php @@ -306,6 +306,8 @@ function maybe_upgrade() { if ( $total_affected > 0 ) { wp_cache_flush(); } + // Set the version key, in the instance where the plugin wasn't previously used. + update_option( self::VERSION_KEY, 3, false ); } }