{"action":"opened","issue":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/8765","labels_url":"https://api.github.com/repos/woothemes/woocommerce/issues/8765/labels{/name}","comments_url":"https://api.github.com/repos/woothemes/woocommerce/issues/8765/comments","events_url":"https://api.github.com/repos/woothemes/woocommerce/issues/8765/events","html_url":"https://github.com/woothemes/woocommerce/issues/8765","id":100229464,"number":8765,"title":"Variable Products: text attribute option value is lowercase 2.3 but capitalized in 2.4","user":{"login":"eliorivero","id":1041600,"avatar_url":"https://avatars.githubusercontent.com/u/1041600?v=3","gravatar_id":"","url":"https://api.github.com/users/eliorivero","html_url":"https://github.com/eliorivero","followers_url":"https://api.github.com/users/eliorivero/followers","following_url":"https://api.github.com/users/eliorivero/following{/other_user}","gists_url":"https://api.github.com/users/eliorivero/gists{/gist_id}","starred_url":"https://api.github.com/users/eliorivero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliorivero/subscriptions","organizations_url":"https://api.github.com/users/eliorivero/orgs","repos_url":"https://api.github.com/users/eliorivero/repos","events_url":"https://api.github.com/users/eliorivero/events{/privacy}","received_events_url":"https://api.github.com/users/eliorivero/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-11T05:30:06Z","updated_at":"2015-08-11T05:30:06Z","closed_at":null,"body":"Hi, in previous versions, when you entered a custom product attribute, the option value in front end was sanitized:\r\n<img width=\"579\" alt=\"wc-2 3 13\" src=\"https://cloud.githubusercontent.com/assets/1041600/9190668/4afecb50-3fce-11e5-914f-eee15e5acea1.png\">\r\n\r\nbut in 2.4 (and 2.4.1 so far), it's not:\r\n<img width=\"572\" alt=\"wc-2 4 1\" src=\"https://cloud.githubusercontent.com/assets/1041600/9190669/4b004da4-3fce-11e5-893d-64b5cff4cd66.png\">\r\n\r\nI have a plugin that changes the select values according to a user interaction. To do that I was comparing the product attribute and its terms following the sanitized standard version. Of course, I've just found that they don't work and now I must check if it's WC 2.4 or 2.3 and compare unsanitized or sanitized versions respectively.\r\n\r\nIs this a bug that will be rectified later or this unsanitized version will be the new standard?\r\n\r\nCheers."}}