[#12517] Deprecate process_product_file_download_paths function since download log ids should no longer change based on file paths

This commit is contained in:
Josh Smith 2017-08-23 03:16:50 +00:00
parent 5e4269267f
commit cd89246b87
1 changed files with 2 additions and 1 deletions

View File

@ -465,12 +465,13 @@ class WC_Post_Data {
/**
* Update changed downloads.
*
* @deprecated 3.3.0 No action is necessary on changes to download paths since download_id is no longer based on file hash.
* @param int $product_id product identifier
* @param int $variation_id optional product variation identifier
* @param array $downloads newly set files
*/
public static function process_product_file_download_paths( $product_id, $variation_id, $downloads ) {
// No action is necessary on changes to download paths since download_id is no longer based on file hash.
wc_deprecated_function( __FUNCTION__, '3.3' );
}
/**