This is the fix I found.
function turn_off_reject_unsafe_urls($args) {
$args['reject_unsafe_urls'] = false;
return $args;
}
add_filter( 'http_request_args', 'turn_off_reject_unsafe_urls');
Related Posts:
- Which tools should I use for a gallery that uses an API and url for the path of the images?
- Uploading media to wordpress API with C# HttpClient
- How do I get the avatar URL instead of an HTML IMG tag when using get_avatar?
- How do I delete all UNUSED images from my uploads directory?
- Programmatically get images by URL and save in uploads folder
- Function to get URL of original uploaded image – full size
- How to reference a theme image in a stylesheet?
- Mixed content warnings after changing site adress from HTTP to HTTPS
- Preview Image Path in Admin Section
- Why would image paths in wordpress suddenly change?
- Did I do it right? Deleting images after deleting product. Woocommerce
- Remove the http protocol from images
- How do i reference the theme path in pages for images?
- @wordpress/create-block image url in css
- Get all post media images via WP REST API
- WordPress url image redirect to the homepage
- Broken urls with http site and https wp-admin
- A way to change image urls in post to cdn image url?
- How to change image url?
- Update image links in database
- Shortcode for a link and thumbnail
- media_sideload_image with rewritten urls?
- Woocommerce featured image of page – not product
- How to modify WCMP Rest API response?
- Woocommerce api: create product with images – bad request
- wordpress (woocommerce) add image to media library programmatically python
- Resize into square the single product image in woocommerce without cropping [closed]
- How to add an image to a custom url?
- images not showing after transfer
- Why it doesn’t show media urls on rest Api? (WordPress)
- Is there any way to Integrate WordPress with Imgur for Image Hosting
- Replacing the content of an image attachment using API
- Change media URL (images)
- Redirect to another page using contact form 7? [closed]
- wc_get_products() not return the images details
- How to redirect homepage to actual URL?
- Clicks registering on Preview DNS site
- Woocommerce REST API – add filter to set maximum query per page for product brands [closed]
- Is it possible to enable the ‘Link To’ field under ‘Attachment Display Settings’ for a Featured Image?
- How to make footer area transparent? Using Avada and WordPress [closed]
- Using a .pdf file as a page in wordpress
- How to get image URL from media_sideload_image?
- Exclude image url from search query
- Redirect Image Url to a page via htaccess
- Product Images Low Quality After Updating From WP 3.5 to 4 [closed]
- Hide image gallery in Woocommerce if NO image [closed]
- How to pass on a value as parameter via url to another page
- How to replace post image url before posting using api?
- Generate images with html2canvas and the woocommerce api
- Hide or mask the url to an image
- How to solve `Error getting remote image` in woocommerce rest api script?
- Glitched page redirects to image
- wc_get_products() return empty object
- i want to change URL of WordPress image or rewrite in runtime
- How to show a full page when someone links directly to an image on my site
- When upload a PNG a noise appears in the thumbnails
- Delete product image using WooCommerce API?
- Exclude first image from a Woocommerce image gallery
- Why does wp_get_attachment_image_src return the wrong size, when the correct size exists?
- How to delete images from database with product
- WooCommerce Variation Swatches and Photos – get attribute thumbnail
- How can the alt be added to this wooCommerce category image?
- List sub pages with custom field content converting image ID to URL
- Image thumbnail on single product issue | WooCommerce
- Change the image for a certain URL
- Setting name of attachment URL
- Thumb doubles the image file size
- Search and replace image urls in posts
- Protocol relative url not pulling up images on IE, FF, and OPERA
- Broken image URL
- How do I mitigate the forward slash problem for URLs of images after a WP migration?
- Images in sub-pages fail to load
- get_post_custom: get image URL instead of image ID
- Are image addresses security relevant?
- Remote Image (from URL) as Media Library element
- WooCommerce REST API endpoints don’t exist
- WordPress API, creating Featured Media from image url (nodejs)
- Fetch products with filter by similar categories at same time
- WPALLIMPORT Exporting images from repeater field [closed]
- Auto generating API keys using the Application Authentication Endpoint [closed]
- WordPress + REST API + featured_image
- Prevent WordPress from generating medium_large 768px size of image uploads?
- WP REST API only returning partial list of users
- How do you modify the HTML output of a Gallery item (using the gallery shortcode)?
- Media sizes aren’t being created – server config?
- Drag images with caption in WP editor
- Any way to “combine” galleries or show multiple galleries as one?
- How to set a contact forms total size limit
- Get thumbnail url of custom meta image?
- SVG Featured image not shown in twitter
- How to use photo in multiple posts?
- Hero image cropped at different dimensions
- Scrape a webpage for image and add it to post
- limit number of images shown from gallery
- REST API Working for GET but not for POST?
- Images are not getting uploaded
- Assigning image to Post-Type won’t work anymore: exceeded time?
- wp_get_attachment_link() add rel attribute if the link points to direct image
- How to get some information from the_content [closed]
- Custom Background Image per Page