{"action":"created","issue":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/7126","labels_url":"https://api.github.com/repos/woothemes/woocommerce/issues/7126/labels{/name}","comments_url":"https://api.github.com/repos/woothemes/woocommerce/issues/7126/comments","events_url":"https://api.github.com/repos/woothemes/woocommerce/issues/7126/events","html_url":"https://github.com/woothemes/woocommerce/pull/7126","id":54568244,"number":7126,"title":"Breaks shortcodes with javascript in","user":{"login":"LiamBailey","id":490606,"avatar_url":"https://avatars.githubusercontent.com/u/490606?v=3","gravatar_id":"","url":"https://api.github.com/users/LiamBailey","html_url":"https://github.com/LiamBailey","followers_url":"https://api.github.com/users/LiamBailey/followers","following_url":"https://api.github.com/users/LiamBailey/following{/other_user}","gists_url":"https://api.github.com/users/LiamBailey/gists{/gist_id}","starred_url":"https://api.github.com/users/LiamBailey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiamBailey/subscriptions","organizations_url":"https://api.github.com/users/LiamBailey/orgs","repos_url":"https://api.github.com/users/LiamBailey/repos","events_url":"https://api.github.com/users/LiamBailey/events{/privacy}","received_events_url":"https://api.github.com/users/LiamBailey/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-16T11:59:39Z","updated_at":"2015-01-16T12:14:03Z","closed_at":"2015-01-16T12:14:03Z","pull_request":{"url":"https://api.github.com/repos/woothemes/woocommerce/pulls/7126","html_url":"https://github.com/woothemes/woocommerce/pull/7126","diff_url":"https://github.com/woothemes/woocommerce/pull/7126.diff","patch_url":"https://github.com/woothemes/woocommerce/pull/7126.patch"},"body":"calling wpautop on do_shortcode content wraps javascript content etc in\r\n<p> tags, this breaks things, I found the issue because it broke\r\nrev_slider as inserted by visual compose by shortcode. You could swap\r\nthe order, and run do_shortcode on the wpautop'd content, but why not\r\njust do it the proper way with apply_filters('the_content',$content);"},"comment":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/comments/70245759","html_url":"https://github.com/woothemes/woocommerce/pull/7126#issuecomment-70245759","issue_url":"https://api.github.com/repos/woothemes/woocommerce/issues/7126","id":70245759,"user":{"login":"claudiosmweb","id":1264099,"avatar_url":"https://avatars.githubusercontent.com/u/1264099?v=3","gravatar_id":"","url":"https://api.github.com/users/claudiosmweb","html_url":"https://github.com/claudiosmweb","followers_url":"https://api.github.com/users/claudiosmweb/followers","following_url":"https://api.github.com/users/claudiosmweb/following{/other_user}","gists_url":"https://api.github.com/users/claudiosmweb/gists{/gist_id}","starred_url":"https://api.github.com/users/claudiosmweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claudiosmweb/subscriptions","organizations_url":"https://api.github.com/users/claudiosmweb/orgs","repos_url":"https://api.github.com/users/claudiosmweb/repos","events_url":"https://api.github.com/users/claudiosmweb/events{/privacy}","received_events_url":"https://api.github.com/users/claudiosmweb/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T12:14:03Z","updated_at":"2015-01-16T12:14:03Z","body":"It's an incredible irresponsibility use the_content filter this way.\r\nWith so many plugins that using the filter could add as examples for related posts and buttons to share in your shortcode!\r\n\r\n"}}