Update woocommerce.php

is_admin() return a boolean