Update class-wpmoly-legacy.php