forked from beezwax/WP-Publish-to-Apple-News
-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Labels
enhancementNew feature or requestNew feature or requestphpRequires understanding PHPRequires understanding PHP
Description
Description
Currently, if a site is using Jetpack boost to serve up images, when a cover image is set to be used, the image is served from the origin, not the Jetpack boost CDN.
There is code in place that strips out the Jetpack CDN URL. This code should be removed and we should use what WordPress gives us natively.
Use Case
When a user sets an Apple News cover image it is served with the correct URL. If Jetpack Boost is being used, it should serve the image from the CDN
How to Test
- Create a post with a featured image and an image in the content. Download the JSON and verify that the image is being served from the Jetpack CDN
- Create a post without a featured image but has a cover image set. Verify that the cover image is being served from the Jetpack CDN
- Create a post with a cover image and add the same image to the post content. Verify that when published the image is deduped and does not display in the content.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestphpRequires understanding PHPRequires understanding PHP