{"action":"created","issue":{"url":"https://api.github.com/repos/fusioneng/Shortcake/issues/180","labels_url":"https://api.github.com/repos/fusioneng/Shortcake/issues/180/labels{/name}","comments_url":"https://api.github.com/repos/fusioneng/Shortcake/issues/180/comments","events_url":"https://api.github.com/repos/fusioneng/Shortcake/issues/180/events","html_url":"https://github.com/fusioneng/Shortcake/pull/180","id":58459084,"number":180,"title":"Numeric attribute fix","user":{"login":"bfintal","id":1033611,"avatar_url":"https://avatars.githubusercontent.com/u/1033611?v=3","gravatar_id":"","url":"https://api.github.com/users/bfintal","html_url":"https://github.com/bfintal","followers_url":"https://api.github.com/users/bfintal/followers","following_url":"https://api.github.com/users/bfintal/following{/other_user}","gists_url":"https://api.github.com/users/bfintal/gists{/gist_id}","starred_url":"https://api.github.com/users/bfintal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfintal/subscriptions","organizations_url":"https://api.github.com/users/bfintal/orgs","repos_url":"https://api.github.com/users/bfintal/repos","events_url":"https://api.github.com/users/bfintal/events{/privacy}","received_events_url":"https://api.github.com/users/bfintal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-21T13:15:57Z","updated_at":"2015-02-24T12:06:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fusioneng/Shortcake/pulls/180","html_url":"https://github.com/fusioneng/Shortcake/pull/180","diff_url":"https://github.com/fusioneng/Shortcake/pull/180.diff","patch_url":"https://github.com/fusioneng/Shortcake/pull/180.patch"},"body":"Fixes #128\r\n\r\nDoing this\r\n```\r\n'attrs' => array(\r\n    array(\r\n       'label' => 'url',\r\n       'attr'  => '0',\r\n       'type'  => 'textarea',\r\n    ),\r\n),\r\n```\r\ncreates a shortcode with an attribute `0=\"value\"`, WordPress cannot parse this as an unnamed attribute. The regex here removes numeric attributes and removes them. This doesn't affect attribute-like strings outside the shortcode definition and doesn't affect normal string attributes."},"comment":{"url":"https://api.github.com/repos/fusioneng/Shortcake/issues/comments/75745064","html_url":"https://github.com/fusioneng/Shortcake/pull/180#issuecomment-75745064","issue_url":"https://api.github.com/repos/fusioneng/Shortcake/issues/180","id":75745064,"user":{"login":"danielbachhuber","id":36432,"avatar_url":"https://avatars.githubusercontent.com/u/36432?v=3","gravatar_id":"","url":"https://api.github.com/users/danielbachhuber","html_url":"https://github.com/danielbachhuber","followers_url":"https://api.github.com/users/danielbachhuber/followers","following_url":"https://api.github.com/users/danielbachhuber/following{/other_user}","gists_url":"https://api.github.com/users/danielbachhuber/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbachhuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbachhuber/subscriptions","organizations_url":"https://api.github.com/users/danielbachhuber/orgs","repos_url":"https://api.github.com/users/danielbachhuber/repos","events_url":"https://api.github.com/users/danielbachhuber/events{/privacy}","received_events_url":"https://api.github.com/users/danielbachhuber/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T12:06:32Z","updated_at":"2015-02-24T12:06:32Z","body":"I think we should have some unit test coverage here."}}