Incompatability with WP Offload Media
-
Hi
There’s a potential issue, when the plugin is used together with WP Offload Media from Delicious Brains. Images may not display because they are offloaded to a delivery provider and are not really present in /wp-content/.
This is normally fixed because WP Offload Media filters content and changes the local urls to the provider urls:
https://deliciousbrains.com/wp-offload-media/doc/developer-guide/#local-to-provider
But Newsletter Glue seems to fetch the content before this filter has had effect.
Luckily the filter can be applied manually:
https://deliciousbrains.com/wp-offload-media/doc/filtering-urls-in-custom-content/So you can do something like this:
function dagens_newsletters_filter_post_local_to_provider($the_content) { return apply_filters( 'as3cf_filter_post_local_to_provider', $the_content ); } add_filter('newsletterglue_email_content','dagens_newsletters_filter_post_local_to_provider');
But if you could add a fix to your compatibility file it would be a nice gesture.
- The topic ‘Incompatability with WP Offload Media’ is closed to new replies.