function __fixPHPNSGlobalStupidity()
{
    global $wpdb, $post, $user_ID, $post_ID;
    \WCAPI\Base::setAdapter($wpdb);
}