Closed UltraNurd closed 11 years ago
Whoops, a bit careless about branches - I didn't realize it would update the pull request. I added some basic inclusion of likes and comments, which I wanted to keep in my Instagram fleeing. Take whatever you need.
Ok, This is incorporated with my last push. I didn't want to merge your pull because of the changes I had made locally. You can see the diff here..
Never developed WP plugins, so I'm not familiar with the filter paradigm. I know just enough PHP to be dangerous, but at this point, I've got my Instagram imported, which is what I needed.
Fair enough. For future reference, you could drop this code into your own plugin or your theme's functions.php file and have it do the same thing without modifying the plugin itself.
Justin,
Following up on our discussion on Twitter yesterday, I have a patch using wp_update_post that replaces the link fields with the locally cached URLs if the image is "featured". I've tested this on my WordPress install, but I don't know if my attempt at a minimal change breaks any other assumptions.
--Nick