{"action":"closed","issue":{"url":"https://api.github.com/repos/cferdinandi/gomakethings/issues/109","labels_url":"https://api.github.com/repos/cferdinandi/gomakethings/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/cferdinandi/gomakethings/issues/109/comments","events_url":"https://api.github.com/repos/cferdinandi/gomakethings/issues/109/events","html_url":"https://github.com/cferdinandi/gomakethings/issues/109","id":59422793,"number":109,"title":"How to automate cache busting with Gulp and WordPress","user":{"login":"cferdinandi","id":1724852,"avatar_url":"https://avatars.githubusercontent.com/u/1724852?v=3","gravatar_id":"","url":"https://api.github.com/users/cferdinandi","html_url":"https://github.com/cferdinandi","followers_url":"https://api.github.com/users/cferdinandi/followers","following_url":"https://api.github.com/users/cferdinandi/following{/other_user}","gists_url":"https://api.github.com/users/cferdinandi/gists{/gist_id}","starred_url":"https://api.github.com/users/cferdinandi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cferdinandi/subscriptions","organizations_url":"https://api.github.com/users/cferdinandi/orgs","repos_url":"https://api.github.com/users/cferdinandi/repos","events_url":"https://api.github.com/users/cferdinandi/events{/privacy}","received_events_url":"https://api.github.com/users/cferdinandi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cferdinandi/gomakethings/labels/content","name":"content","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-01T23:12:33Z","updated_at":"2015-04-10T01:25:51Z","closed_at":"2015-04-10T01:25:51Z","body":"```js\r\nvar rename = require('gulp-rename');\r\nvar package = require('./package.json');\r\n\r\n.pipe(rename, { suffix: '.min.' + package.version })\r\n```\r\n\r\n```php\r\n$keel_theme = wp_get_theme();\r\nwp_enqueue_script( 'keel-theme-scripts', get_template_directory_uri() . '/dist/js/main.min.' . $keel_theme->get( 'Version' ) . '.js', null, null, true );\r\n```"}}