Original common_functions.php
Complete wish-list sync implementation