{"action":"created","issue":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/7891","labels_url":"https://api.github.com/repos/woothemes/woocommerce/issues/7891/labels{/name}","comments_url":"https://api.github.com/repos/woothemes/woocommerce/issues/7891/comments","events_url":"https://api.github.com/repos/woothemes/woocommerce/issues/7891/events","html_url":"https://github.com/woothemes/woocommerce/issues/7891","id":66358874,"number":7891,"title":"Wrong  slug attributes in product/<id>","user":{"login":"abada","id":180586,"avatar_url":"https://avatars.githubusercontent.com/u/180586?v=3","gravatar_id":"","url":"https://api.github.com/users/abada","html_url":"https://github.com/abada","followers_url":"https://api.github.com/users/abada/followers","following_url":"https://api.github.com/users/abada/following{/other_user}","gists_url":"https://api.github.com/users/abada/gists{/gist_id}","starred_url":"https://api.github.com/users/abada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abada/subscriptions","organizations_url":"https://api.github.com/users/abada/orgs","repos_url":"https://api.github.com/users/abada/repos","events_url":"https://api.github.com/users/abada/events{/privacy}","received_events_url":"https://api.github.com/users/abada/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-04T19:48:26Z","updated_at":"2015-04-10T10:46:46Z","closed_at":"2015-04-10T10:46:46Z","body":"[\r\n{\r\nname: \"Chocolate Dipped?\",\r\nslug: \"Chocolate Dipped?\",\r\nposition: \"0\",\r\nvisible: true,\r\nvariation: true,\r\noptions: [\r\n\"No\",\r\n\"Yes\"\r\n]\r\n},\r\n{\r\nname: \"Size\",\r\nslug: \"size\",\r\nposition: \"1\",\r\nvisible: true,\r\nvariation: true,\r\noptions: [\r\n\"Large\",\r\n\"Regular\",\r\n\"Small\"\r\n]\r\n}\r\n]\r\n\r\nIn first attribute slug is the same name\r\n\r\nslug must be chocolate-dipped \r\n\r\nlike variations\r\n\r\n[\r\n{\r\nname: \"Chocolate Dipped\",\r\nslug: \"chocolate-dipped\",\r\noption: \"no\"\r\n},\r\n{\r\nname: \"Size\",\r\nslug: \"size\",\r\noption: \"small\"\r\n}\r\n],"},"comment":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/comments/91513397","html_url":"https://github.com/woothemes/woocommerce/issues/7891#issuecomment-91513397","issue_url":"https://api.github.com/repos/woothemes/woocommerce/issues/7891","id":91513397,"user":{"login":"mikejolley","id":90977,"avatar_url":"https://avatars.githubusercontent.com/u/90977?v=3","gravatar_id":"","url":"https://api.github.com/users/mikejolley","html_url":"https://github.com/mikejolley","followers_url":"https://api.github.com/users/mikejolley/followers","following_url":"https://api.github.com/users/mikejolley/following{/other_user}","gists_url":"https://api.github.com/users/mikejolley/gists{/gist_id}","starred_url":"https://api.github.com/users/mikejolley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikejolley/subscriptions","organizations_url":"https://api.github.com/users/mikejolley/orgs","repos_url":"https://api.github.com/users/mikejolley/repos","events_url":"https://api.github.com/users/mikejolley/events{/privacy}","received_events_url":"https://api.github.com/users/mikejolley/received_events","type":"User","site_admin":false},"created_at":"2015-04-10T10:46:46Z","updated_at":"2015-04-10T10:46:46Z","body":"This is a text/custom/product-level attribute, not a real taxonomy based attribute, therefore it has no real slug. \r\n\r\n`\r\n'slug'      => str_replace( 'pa_', '', $attribute['name'] ),\r\n`"}}