{"action":"created","comment":{"url":"https://api.github.com/repos/fusioneng/Shortcake/pulls/comments/25246662","id":25246662,"diff_hunk":"@@ -35,13 +35,44 @@ private function setup_actions() {\n \tpublic function register_shortcode_ui( $shortcode_tag, $args = array() ) {\n \n \t\t$defaults = array(\n-\t\t\t'label'         => '',\n-\t\t\t'attrs'         => array(),\n-\t\t\t'listItemImage' => '',   // src or 'dashicons-' - used in insert list.\n+\t\t\t'label'             => '',\n+\t\t\t'attrs'             => array(),\n+\t\t\t'listItemImage'     => '',   // src or 'dashicons-' - used in insert list.\n+\t\t\t'inner_content'     => false,\n \t\t);\n \n \t\t$args = wp_parse_args( $args, $defaults );\n-\n+\t\t\n+\t\t\n+\t\t// inner_content=true is a valid argument, but we want more detail\n+\t\tif ( is_bool( $args['inner_content'] ) && true === $args['inner_content'] ) {\n+\t\t\t$args['inner_content'] = array(\n+\t\t\t\t'label'            => esc_html__( 'Inner Content', 'shortcode-ui' ),\n+\t\t\t\t'description'      => '',\n+\t\t\t\t'placeholder'      => '',\n+\t\t\t);\n+\t\t}\n+\t\t\n+\t\t$num_attrs = count( $args['attrs'] );","path":"inc/class-shortcode-ui.php","position":26,"original_position":26,"commit_id":"ca10c1198a42dd149e4cb41377202922bb068bd8","original_commit_id":"ca10c1198a42dd149e4cb41377202922bb068bd8","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},"body":"Can we have some mention that this is a backwards compatibility shim that we'll be removing in the next version?","created_at":"2015-02-24T11:52:34Z","updated_at":"2015-02-24T11:52:34Z","html_url":"https://github.com/fusioneng/Shortcake/pull/164#discussion_r25246662","pull_request_url":"https://api.github.com/repos/fusioneng/Shortcake/pulls/164","_links":{"self":{"href":"https://api.github.com/repos/fusioneng/Shortcake/pulls/comments/25246662"},"html":{"href":"https://github.com/fusioneng/Shortcake/pull/164#discussion_r25246662"},"pull_request":{"href":"https://api.github.com/repos/fusioneng/Shortcake/pulls/164"}}},"pull_request":{"url":"https://api.github.com/repos/fusioneng/Shortcake/pulls/164","id":29426002,"html_url":"https://github.com/fusioneng/Shortcake/pull/164","diff_url":"https://github.com/fusioneng/Shortcake/pull/164.diff","patch_url":"https://github.com/fusioneng/Shortcake/pull/164.patch","issue_url":"https://api.github.com/repos/fusioneng/Shortcake/issues/164","number":164,"state":"open","locked":false,"title":"Allow to edit content - first pass","user":{"login":"jitendraharpalani58","id":7255301,"avatar_url":"https://avatars.githubusercontent.com/u/7255301?v=3","gravatar_id":"","url":"https://api.github.com/users/jitendraharpalani58","html_url":"https://github.com/jitendraharpalani58","followers_url":"https://api.github.com/users/jitendraharpalani58/followers","following_url":"https://api.github.com/users/jitendraharpalani58/following{/other_user}","gists_url":"https://api.github.com/users/jitendraharpalani58/gists{/gist_id}","starred_url":"https://api.github.com/users/jitendraharpalani58/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jitendraharpalani58/subscriptions","organizations_url":"https://api.github.com/users/jitendraharpalani58/orgs","repos_url":"https://api.github.com/users/jitendraharpalani58/repos","events_url":"https://api.github.com/users/jitendraharpalani58/events{/privacy}","received_events_url":"https://api.github.com/users/jitendraharpalani58/received_events","type":"User","site_admin":false},"body":"See #93 \r\n\r\n@danielbachhuber This is what I was thinking.","created_at":"2015-02-17T08:52:49Z","updated_at":"2015-02-24T11:52:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c43acc0fb07bf45854df8abf5e3f428b4550f838","assignee":{"login":"jitendraharpalani58","id":7255301,"avatar_url":"https://avatars.githubusercontent.com/u/7255301?v=3","gravatar_id":"","url":"https://api.github.com/users/jitendraharpalani58","html_url":"https://github.com/jitendraharpalani58","followers_url":"https://api.github.com/users/jitendraharpalani58/followers","following_url":"https://api.github.com/users/jitendraharpalani58/following{/other_user}","gists_url":"https://api.github.com/users/jitendraharpalani58/gists{/gist_id}","starred_url":"https://api.github.com/users/jitendraharpalani58/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jitendraharpalani58/subscriptions","organizations_url":"https://api.github.com/users/jitendraharpalani58/orgs","repos_url":"https://api.github.com/users/jitendraharpalani58/repos","events_url":"https://api.github.com/users/jitendraharpalani58/events{/privacy}","received_events_url":"https://api.github.com/users/jitendraharpalani58/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/fusioneng/Shortcake/pulls/164/commits","review_comments_url":"https://api.github.com/repos/fusioneng/Shortcake/pulls/164/comments","review_comment_url":"https://api.github.com/repos/fusioneng/Shortcake/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fusioneng/Shortcake/issues/164/comments","statuses_url":"https://api.github.com/repos/fusioneng/Shortcake/statuses/ca10c1198a42dd149e4cb41377202922bb068bd8","head":{"label":"fusioneng:93-allow-content-edit","ref":"93-allow-content-edit","sha":"ca10c1198a42dd149e4cb41377202922bb068bd8","user":{"login":"fusioneng","id":8161069,"avatar_url":"https://avatars.githubusercontent.com/u/8161069?v=3","gravatar_id":"","url":"https://api.github.com/users/fusioneng","html_url":"https://github.com/fusioneng","followers_url":"https://api.github.com/users/fusioneng/followers","following_url":"https://api.github.com/users/fusioneng/following{/other_user}","gists_url":"https://api.github.com/users/fusioneng/gists{/gist_id}","starred_url":"https://api.github.com/users/fusioneng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fusioneng/subscriptions","organizations_url":"https://api.github.com/users/fusioneng/orgs","repos_url":"https://api.github.com/users/fusioneng/repos","events_url":"https://api.github.com/users/fusioneng/events{/privacy}","received_events_url":"https://api.github.com/users/fusioneng/received_events","type":"Organization","site_admin":false},"repo":{"id":25159454,"name":"Shortcake","full_name":"fusioneng/Shortcake","owner":{"login":"fusioneng","id":8161069,"avatar_url":"https://avatars.githubusercontent.com/u/8161069?v=3","gravatar_id":"","url":"https://api.github.com/users/fusioneng","html_url":"https://github.com/fusioneng","followers_url":"https://api.github.com/users/fusioneng/followers","following_url":"https://api.github.com/users/fusioneng/following{/other_user}","gists_url":"https://api.github.com/users/fusioneng/gists{/gist_id}","starred_url":"https://api.github.com/users/fusioneng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fusioneng/subscriptions","organizations_url":"https://api.github.com/users/fusioneng/orgs","repos_url":"https://api.github.com/users/fusioneng/repos","events_url":"https://api.github.com/users/fusioneng/events{/privacy}","received_events_url":"https://api.github.com/users/fusioneng/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fusioneng/Shortcake","description":"Shortcake makes using WordPress shortcodes a piece of cake.","fork":false,"url":"https://api.github.com/repos/fusioneng/Shortcake","forks_url":"https://api.github.com/repos/fusioneng/Shortcake/forks","keys_url":"https://api.github.com/repos/fusioneng/Shortcake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fusioneng/Shortcake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fusioneng/Shortcake/teams","hooks_url":"https://api.github.com/repos/fusioneng/Shortcake/hooks","issue_events_url":"https://api.github.com/repos/fusioneng/Shortcake/issues/events{/number}","events_url":"https://api.github.com/repos/fusioneng/Shortcake/events","assignees_url":"https://api.github.com/repos/fusioneng/Shortcake/assignees{/user}","branches_url":"https://api.github.com/repos/fusioneng/Shortcake/branches{/branch}","tags_url":"https://api.github.com/repos/fusioneng/Shortcake/tags","blobs_url":"https://api.github.com/repos/fusioneng/Shortcake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fusioneng/Shortcake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fusioneng/Shortcake/git/refs{/sha}","trees_url":"https://api.github.com/repos/fusioneng/Shortcake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fusioneng/Shortcake/statuses/{sha}","languages_url":"https://api.github.com/repos/fusioneng/Shortcake/languages","stargazers_url":"https://api.github.com/repos/fusioneng/Shortcake/stargazers","contributors_url":"https://api.github.com/repos/fusioneng/Shortcake/contributors","subscribers_url":"https://api.github.com/repos/fusioneng/Shortcake/subscribers","subscription_url":"https://api.github.com/repos/fusioneng/Shortcake/subscription","commits_url":"https://api.github.com/repos/fusioneng/Shortcake/commits{/sha}","git_commits_url":"https://api.github.com/repos/fusioneng/Shortcake/git/commits{/sha}","comments_url":"https://api.github.com/repos/fusioneng/Shortcake/comments{/number}","issue_comment_url":"https://api.github.com/repos/fusioneng/Shortcake/issues/comments{/number}","contents_url":"https://api.github.com/repos/fusioneng/Shortcake/contents/{+path}","compare_url":"https://api.github.com/repos/fusioneng/Shortcake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fusioneng/Shortcake/merges","archive_url":"https://api.github.com/repos/fusioneng/Shortcake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fusioneng/Shortcake/downloads","issues_url":"https://api.github.com/repos/fusioneng/Shortcake/issues{/number}","pulls_url":"https://api.github.com/repos/fusioneng/Shortcake/pulls{/number}","milestones_url":"https://api.github.com/repos/fusioneng/Shortcake/milestones{/number}","notifications_url":"https://api.github.com/repos/fusioneng/Shortcake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fusioneng/Shortcake/labels{/name}","releases_url":"https://api.github.com/repos/fusioneng/Shortcake/releases{/id}","created_at":"2014-10-13T13:21:15Z","updated_at":"2015-02-24T08:14:48Z","pushed_at":"2015-02-24T11:39:15Z","git_url":"git://github.com/fusioneng/Shortcake.git","ssh_url":"git@github.com:fusioneng/Shortcake.git","clone_url":"https://github.com/fusioneng/Shortcake.git","svn_url":"https://github.com/fusioneng/Shortcake","homepage":"http://next.fusion.net/tag/shortcode-ui/","size":2064,"stargazers_count":269,"watchers_count":269,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":59,"forks":21,"open_issues":59,"watchers":269,"default_branch":"master"}},"base":{"label":"fusioneng:master","ref":"master","sha":"ace5c35b4e5fded3f40c6eb8093cc3a5a656cf15","user":{"login":"fusioneng","id":8161069,"avatar_url":"https://avatars.githubusercontent.com/u/8161069?v=3","gravatar_id":"","url":"https://api.github.com/users/fusioneng","html_url":"https://github.com/fusioneng","followers_url":"https://api.github.com/users/fusioneng/followers","following_url":"https://api.github.com/users/fusioneng/following{/other_user}","gists_url":"https://api.github.com/users/fusioneng/gists{/gist_id}","starred_url":"https://api.github.com/users/fusioneng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fusioneng/subscriptions","organizations_url":"https://api.github.com/users/fusioneng/orgs","repos_url":"https://api.github.com/users/fusioneng/repos","events_url":"https://api.github.com/users/fusioneng/events{/privacy}","received_events_url":"https://api.github.com/users/fusioneng/received_events","type":"Organization","site_admin":false},"repo":{"id":25159454,"name":"Shortcake","full_name":"fusioneng/Shortcake","owner":{"login":"fusioneng","id":8161069,"avatar_url":"https://avatars.githubusercontent.com/u/8161069?v=3","gravatar_id":"","url":"https://api.github.com/users/fusioneng","html_url":"https://github.com/fusioneng","followers_url":"https://api.github.com/users/fusioneng/followers","following_url":"https://api.github.com/users/fusioneng/following{/other_user}","gists_url":"https://api.github.com/users/fusioneng/gists{/gist_id}","starred_url":"https://api.github.com/users/fusioneng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fusioneng/subscriptions","organizations_url":"https://api.github.com/users/fusioneng/orgs","repos_url":"https://api.github.com/users/fusioneng/repos","events_url":"https://api.github.com/users/fusioneng/events{/privacy}","received_events_url":"https://api.github.com/users/fusioneng/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fusioneng/Shortcake","description":"Shortcake makes using WordPress shortcodes a piece of cake.","fork":false,"url":"https://api.github.com/repos/fusioneng/Shortcake","forks_url":"https://api.github.com/repos/fusioneng/Shortcake/forks","keys_url":"https://api.github.com/repos/fusioneng/Shortcake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fusioneng/Shortcake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fusioneng/Shortcake/teams","hooks_url":"https://api.github.com/repos/fusioneng/Shortcake/hooks","issue_events_url":"https://api.github.com/repos/fusioneng/Shortcake/issues/events{/number}","events_url":"https://api.github.com/repos/fusioneng/Shortcake/events","assignees_url":"https://api.github.com/repos/fusioneng/Shortcake/assignees{/user}","branches_url":"https://api.github.com/repos/fusioneng/Shortcake/branches{/branch}","tags_url":"https://api.github.com/repos/fusioneng/Shortcake/tags","blobs_url":"https://api.github.com/repos/fusioneng/Shortcake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fusioneng/Shortcake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fusioneng/Shortcake/git/refs{/sha}","trees_url":"https://api.github.com/repos/fusioneng/Shortcake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fusioneng/Shortcake/statuses/{sha}","languages_url":"https://api.github.com/repos/fusioneng/Shortcake/languages","stargazers_url":"https://api.github.com/repos/fusioneng/Shortcake/stargazers","contributors_url":"https://api.github.com/repos/fusioneng/Shortcake/contributors","subscribers_url":"https://api.github.com/repos/fusioneng/Shortcake/subscribers","subscription_url":"https://api.github.com/repos/fusioneng/Shortcake/subscription","commits_url":"https://api.github.com/repos/fusioneng/Shortcake/commits{/sha}","git_commits_url":"https://api.github.com/repos/fusioneng/Shortcake/git/commits{/sha}","comments_url":"https://api.github.com/repos/fusioneng/Shortcake/comments{/number}","issue_comment_url":"https://api.github.com/repos/fusioneng/Shortcake/issues/comments{/number}","contents_url":"https://api.github.com/repos/fusioneng/Shortcake/contents/{+path}","compare_url":"https://api.github.com/repos/fusioneng/Shortcake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fusioneng/Shortcake/merges","archive_url":"https://api.github.com/repos/fusioneng/Shortcake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fusioneng/Shortcake/downloads","issues_url":"https://api.github.com/repos/fusioneng/Shortcake/issues{/number}","pulls_url":"https://api.github.com/repos/fusioneng/Shortcake/pulls{/number}","milestones_url":"https://api.github.com/repos/fusioneng/Shortcake/milestones{/number}","notifications_url":"https://api.github.com/repos/fusioneng/Shortcake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fusioneng/Shortcake/labels{/name}","releases_url":"https://api.github.com/repos/fusioneng/Shortcake/releases{/id}","created_at":"2014-10-13T13:21:15Z","updated_at":"2015-02-24T08:14:48Z","pushed_at":"2015-02-24T11:39:15Z","git_url":"git://github.com/fusioneng/Shortcake.git","ssh_url":"git@github.com:fusioneng/Shortcake.git","clone_url":"https://github.com/fusioneng/Shortcake.git","svn_url":"https://github.com/fusioneng/Shortcake","homepage":"http://next.fusion.net/tag/shortcode-ui/","size":2064,"stargazers_count":269,"watchers_count":269,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":59,"forks":21,"open_issues":59,"watchers":269,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fusioneng/Shortcake/pulls/164"},"html":{"href":"https://github.com/fusioneng/Shortcake/pull/164"},"issue":{"href":"https://api.github.com/repos/fusioneng/Shortcake/issues/164"},"comments":{"href":"https://api.github.com/repos/fusioneng/Shortcake/issues/164/comments"},"review_comments":{"href":"https://api.github.com/repos/fusioneng/Shortcake/pulls/164/comments"},"review_comment":{"href":"https://api.github.com/repos/fusioneng/Shortcake/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fusioneng/Shortcake/pulls/164/commits"},"statuses":{"href":"https://api.github.com/repos/fusioneng/Shortcake/statuses/ca10c1198a42dd149e4cb41377202922bb068bd8"}}}}