{"action":"created","issue":{"url":"https://api.github.com/repos/fusioneng/Shortcake/issues/134","labels_url":"https://api.github.com/repos/fusioneng/Shortcake/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/fusioneng/Shortcake/issues/134/comments","events_url":"https://api.github.com/repos/fusioneng/Shortcake/issues/134/events","html_url":"https://github.com/fusioneng/Shortcake/issues/134","id":56282351,"number":134,"title":"Support plugin extensions to the shortcode parameters","user":{"login":"bobbingwide","id":2474435,"avatar_url":"https://avatars.githubusercontent.com/u/2474435?v=3","gravatar_id":"","url":"https://api.github.com/users/bobbingwide","html_url":"https://github.com/bobbingwide","followers_url":"https://api.github.com/users/bobbingwide/followers","following_url":"https://api.github.com/users/bobbingwide/following{/other_user}","gists_url":"https://api.github.com/users/bobbingwide/gists{/gist_id}","starred_url":"https://api.github.com/users/bobbingwide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobbingwide/subscriptions","organizations_url":"https://api.github.com/users/bobbingwide/orgs","repos_url":"https://api.github.com/users/bobbingwide/repos","events_url":"https://api.github.com/users/bobbingwide/events{/privacy}","received_events_url":"https://api.github.com/users/bobbingwide/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-02T19:37:20Z","updated_at":"2015-02-09T02:07:31Z","closed_at":"2015-02-08T14:07:09Z","body":"I have a number of shortcodes in one plugin which are extended by one or more other plugins.\r\nThe other plugins add new parameters to the shortcode.\r\nWhen only the base plugin is active then the syntax need not reflect the additional parameters.\r\nWhen the extensions are active then these should be shown.\r\n\r\nExample: The [bw_telephone] shortcode is extended by the oik-users plugin so that the telephone number displayed is that for a selected user, specified using `user=uid|email|slug|login`\r\n\r\n\r\nQ. Does the current implementation allow a plugin to extend an existing registration of a shortcode?\r\nA. Yes, if it uses shortcode_ui_get_register_shortcode() first, it can then update the definition and re-register it.\r\n\r\nQ. But how does the extension plugin know the right time to do it? \r\nA. Related: #124 \r\n"},"comment":{"url":"https://api.github.com/repos/fusioneng/Shortcake/issues/comments/73447836","html_url":"https://github.com/fusioneng/Shortcake/issues/134#issuecomment-73447836","issue_url":"https://api.github.com/repos/fusioneng/Shortcake/issues/134","id":73447836,"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},"created_at":"2015-02-09T02:07:31Z","updated_at":"2015-02-09T02:07:31Z","body":"@mattheu I agree"}}