Closed abaicus closed 4 months ago
Hey @abaicus,
I was checking the fix of this PR on my test site and found that the issue with preview images being broken is fixed, but a new issue seems to appear on my instance.
If I am using an offloaded image on my instance, then the image URL that is replaced on the page is not an offloaded version of the image.
For example see here - this image is offloaded on my site and I have used this same image on a page-
But when I preview it, the URL has a wp-content/uploads/ structure
The image has been offloaded properly as the original URL of image redirects back to homepage i.e 404 not found. But the image URL still contains the old wp-content URL
See the screencast here for a better understanding - https://vertis.d.pr/v/On8bzO
Here is the page in question - https://arrogantcap.s3-tastewp.com/offloading-test/
and credentials
https://arrogantcap.s3-tastewp.com/wp-admin/
username: kushnamdev
password: do8RmkmWchw
This is not related to this particular PR but probably happens due to some other changes on the development branch.
:tada: This PR is included in version 3.13.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
Fixes preview mode not replacing Offloaded URLs.
Closes #801