wordpress-activitypub/includes/model
Jeremy Herve 3f4c44db05
Compatibility: do not serve images with Jetpack CDN when active
When Jetpack's image CDN is active, core calls to retrieve images return an image served by the CDN.

Since Fediverse instances usually fetch and cache the data themselves, we do not need to use the CDN for those images when returned by the ActivityPub plugin. In fact, we really do not want that to happen, as Fediverse instances may get errors when trying to fetch images from the CDN (they may get blocked / rate-limited / ...).

Let's hook into Jetpack's CDN to avoid that.
2023-04-24 09:51:08 +02:00
..
class-activity.php remove unused "use function" 2023-04-20 15:32:38 +02:00
class-post.php Compatibility: do not serve images with Jetpack CDN when active 2023-04-24 09:51:08 +02:00