Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
3
Impact
~344 people reached

  • 0 posts edited
  • 0 helpful flags
  • 1 vote cast
Sep
24
awarded  Autobiographer
Feb
6
awarded  Supporter
Feb
6
awarded  Scholar
Feb
6
comment Why is WordPress automatically modifying image URLs? (Tracking pixel from RSS)
Thanks for your help - you cleared up a lot and I eventually fixed it by writing a plugin that hooks 'the_content' and 'the_editor_content' - the plugin saves and restores what I need before everything else gets to a post, and after other plugins, etc are finished with it.
Feb
6
accepted Why is WordPress automatically modifying image URLs? (Tracking pixel from RSS)
Feb
4
comment Why is WordPress automatically modifying image URLs? (Tracking pixel from RSS)
I modified default-filters.php to remove filters for that call wp_kses_data from just about everything - still no change, in the editor itself and through RSS. Obviously something is happening when a post gets saved, regardless of through the UI or using code.
Feb
4
comment Why is WordPress automatically modifying image URLs? (Tracking pixel from RSS)
I found media_sideload_image - which seems to upload a given image and return the modified URL - I coded it to just return whatever it gets and am still seeing the same behaviour. What a pain.
Feb
4
comment Why is WordPress automatically modifying image URLs? (Tracking pixel from RSS)
I am using FeedWordPress and I am also trying with WP-Robot; the behaviour is the same in both cases. This happens in the editor too - just add an image, that's hosted elsewhere, to a post in HTML mode and save. Go to your posts list and edit the post again in HTML mode and you'll see that WP modified the image's URL.
Feb
4
asked Why is WordPress automatically modifying image URLs? (Tracking pixel from RSS)