Merge pull request #4717 from tivnet/upstream-master

wc-cart-functions : removed unused $woocommerce and fixed phpdocs
file_exists check for wc_get_template
Merge pull request #4719 from tivnet/upstream-master

sort_callback_params() phpdoc fix