Post Content Filters Image URL
-
I noticed that any remote images embedded inside the post content would automatically have their URL’s rewritten to local ones upon updating the post. I have this plugin configured to automatically delete the local copies of all images, so none of them would show when viewing the post on the front-end.
I have “Rewrite Media URLs” enabled so they should be served from Amazon CloudFront. However, upon digging through your code I discovered that if I disable the filter:
add_filter( ‘content_save_pre’, array( $this, ‘filter_post’ ) );
in the file:
amazon-s3-and-cloudfront/classes/filters/as3cf-s3-to-local.php
this resolves my issue.
My question is: why does this filter exist in your plugin? It quite literally defeats the purpose of this plugin.
- This topic was modified 2 years, 6 months ago by .
- This topic was modified 2 years, 6 months ago by .
- This topic was modified 2 years, 6 months ago by .
- This topic was modified 2 years, 6 months ago by .
- This topic was modified 2 years, 6 months ago by .
- This topic was modified 2 years, 6 months ago by .
- This topic was modified 2 years, 6 months ago by .
- The topic ‘Post Content Filters Image URL’ is closed to new replies.