diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index 58a3753f98..fe9eb265ea 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -1418,7 +1418,7 @@ add_filter('flash_uploader', 'media_upload_use_flash'); function media_upload_flash_bypass() { echo '

'; - printf( __('You are using the Flash uploader. Problems? Try the Browser uploader instead.'), add_query_arg('flash', 0) ); + printf( __('You are using the Flash uploader. Problems? Try the Browser uploader instead.'), clean_url(add_query_arg('flash', 0)) ); echo '

'; } @@ -1428,7 +1428,7 @@ function media_upload_html_bypass() { echo '

'; if ( array_key_exists('flash', $_REQUEST) ) // the user manually selected the browser uploader, so let them switch back to Flash - printf( __('You are using the Browser uploader. Try the Flash uploader instead.'), add_query_arg('flash', 1) ); + printf( __('You are using the Browser uploader. Try the Flash uploader instead.'), clean_url(add_query_arg('flash', 1)) ); else // the user probably doesn't have Flash printf( __('You are using the Browser uploader.') );