This is a great plugin but it lacks one feature. In WP 3.5 media attachments are a custom post type and when you update an attachment’s title or description the nginx helper plugin should ideally call the purge URL so that the attachment page is updated. It doesn’t seem to be doing that ATM. Could the developers please add this feature to the plugin?
Looks like all it requires is the addition of one line to purger.php:
$this->purgeURL( get_attachment_link( $attachment_id ) );
The above should be added to function purgeImageOnEdit line 323
I know. It is fairly simple. If you do fork the repo, make the change, test it and send a pull request, you’d have your name listed as one of the contributors to the plugin. Wouldn’t that be nice?
Using GitHub is pretty simple. You can Google it. We can do that ourselves, too. However, it’s always nice to have contributions. It’s way past our business hours, out here. So, we’d only make these changes tomorrow morning, Indian Standard Time. But, I hope I’ve enticed you enough :).
- The topic ‘Purge on attachment update’ is closed to new replies.