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
- All WordPress Website Images Broken
- Image size not showing up in ‘wp/v2/media’
- Some images not loading after changing IP on local wordpress install
- Disable image compression for WebP
- How to add fee_lines using woocommerce rest API v3?
- Blurry Images on my Website
- Media Library Issues
- Replace image with its alt text?
- Get field added via attachment_fields_to_edit filter in Gutenberg
- All wp-json routes suddenly return 404
- How do I add text or a message below the featured image in wordpress?
- Fix position of an image while using elementor pro gallary widget
- Neither intermediate_image_sizes_advanced or intermediate_image_sizes filter is firing
- i need to resive data external api and show user
- CSS how to target the caption of one individual image?
- Define how an attached image is rendered
- WordPress – Contact Form 7 – Get uploaded file issue
- Convert all img tags into amp-img in wordpress content area
- After importing using wordpress importer, posts in duotone theme do not pick up background colours from image