{"action":"created","issue":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/11114","repository_url":"https://api.github.com/repos/woothemes/woocommerce","labels_url":"https://api.github.com/repos/woothemes/woocommerce/issues/11114/labels{/name}","comments_url":"https://api.github.com/repos/woothemes/woocommerce/issues/11114/comments","events_url":"https://api.github.com/repos/woothemes/woocommerce/issues/11114/events","html_url":"https://github.com/woothemes/woocommerce/pull/11114","id":160141653,"number":11114,"title":"Update wc_product_post_class function","user":{"login":"jamesckemp","id":1853915,"avatar_url":"https://avatars.githubusercontent.com/u/1853915?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesckemp","html_url":"https://github.com/jamesckemp","followers_url":"https://api.github.com/users/jamesckemp/followers","following_url":"https://api.github.com/users/jamesckemp/following{/other_user}","gists_url":"https://api.github.com/users/jamesckemp/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesckemp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesckemp/subscriptions","organizations_url":"https://api.github.com/users/jamesckemp/orgs","repos_url":"https://api.github.com/users/jamesckemp/repos","events_url":"https://api.github.com/users/jamesckemp/events{/privacy}","received_events_url":"https://api.github.com/users/jamesckemp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-14T09:56:27Z","updated_at":"2016-06-14T10:08:30Z","closed_at":"2016-06-14T10:06:49Z","pull_request":{"url":"https://api.github.com/repos/woothemes/woocommerce/pulls/11114","html_url":"https://github.com/woothemes/woocommerce/pull/11114","diff_url":"https://github.com/woothemes/woocommerce/pull/11114.diff","patch_url":"https://github.com/woothemes/woocommerce/pull/11114.patch"},"body":"I have a popular premium plugin for displaying product variations in the product loop. This check stops the first/last classes being added via the wc_get_loop_class() function, thus breaking the layout.\r\n\r\nI propose adding a filter here so I, and others, can check the post type against custom values."},"comment":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/comments/225837559","html_url":"https://github.com/woothemes/woocommerce/pull/11114#issuecomment-225837559","issue_url":"https://api.github.com/repos/woothemes/woocommerce/issues/11114","id":225837559,"user":{"login":"jamesckemp","id":1853915,"avatar_url":"https://avatars.githubusercontent.com/u/1853915?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesckemp","html_url":"https://github.com/jamesckemp","followers_url":"https://api.github.com/users/jamesckemp/followers","following_url":"https://api.github.com/users/jamesckemp/following{/other_user}","gists_url":"https://api.github.com/users/jamesckemp/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesckemp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesckemp/subscriptions","organizations_url":"https://api.github.com/users/jamesckemp/orgs","repos_url":"https://api.github.com/users/jamesckemp/repos","events_url":"https://api.github.com/users/jamesckemp/events{/privacy}","received_events_url":"https://api.github.com/users/jamesckemp/received_events","type":"User","site_admin":false},"created_at":"2016-06-14T10:08:30Z","updated_at":"2016-06-14T10:08:30Z","body":"Ah, I hadn't thought of that. I assume calling wc_get_loop_class() in that manner will maintain and iterate the $woocommerce_loop global?"}}
{"actor":{"display_login":"jamesckemp"}}