All notable changes to this project will be documented in this file.
- Composer package name:
beapi/prod-images→bea/prod-images.
- Debug mode: append
?debugto any proxied asset URL to display debugging information without sending content-type headers. Output includes:- The remote URL called (production URL without the
debugparameter) - Request headers as merged by WordPress (including User-Agent and defaults)
- Response headers from the production server
- The remote URL called (production URL without the
- User-Agent forwarding: the incoming request’s User-Agent is now sent to the production server when fetching assets, so the remote request emulates the browser.
- The
debugquery parameter is stripped from the remote URL and is never sent to production. - Debug mode captures request headers via the
http_request_argsfilter to show all headers WordPress sends (not only those defined by the plugin).
- Refactoring mimes types check (add SVG support)
- Improve readme (nginx part)
- Disable plugin feature if main constant is not defined
- Minor code refactoring (phpcs)
- Add filter
prod_images/remote_get_url
- Add two HTTP headers for easier debugging
- Add constant
PROD_SSL_VERIFYand filterprod_images/remote_get_args
- Allow multiple values for
UPLOADS_STRUCTURE_NAME
- Fix fatal error on single site due to
is_subdomain_install()function
- Fix loading of local images
- Fix cached image with WP Rocket
- Fix for wp_debug
- Initial release