Merge pull request #4539 from kloon/master
Remove esc_url_raw to allow for using of amazon s3 and other shortcodes
This commit is contained in:
commit
f33c6a0970
|
@ -1262,7 +1262,7 @@ class WC_Meta_Box_Product_Data {
|
|||
$files = array();
|
||||
|
||||
$file_names = isset( $_POST['_wc_file_names'] ) ? array_map( 'wc_clean', $_POST['_wc_file_names'] ) : array();
|
||||
$file_urls = isset( $_POST['_wc_file_urls'] ) ? array_map( 'esc_url_raw', array_map( 'trim', $_POST['_wc_file_urls'] ) ) : array();
|
||||
$file_urls = isset( $_POST['_wc_file_urls'] ) ? array_map( 'wc_clean', $_POST['_wc_file_urls'] ) : array();
|
||||
$file_url_size = sizeof( $file_urls );
|
||||
|
||||
for ( $i = 0; $i < $file_url_size; $i ++ ) {
|
||||
|
|
Loading…
Reference in New Issue