Fixed wc_body_class() function, now it should work on any PHP version