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:
Mike Jolley 2014-01-21 03:14:27 -08:00
commit f33c6a0970
1 changed files with 1 additions and 1 deletions

View File

@ -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 ++ ) {