{"action":"closed","number":5,"pull_request":{"url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/pulls/5","id":59171713,"html_url":"https://github.com/dachcom-digital/acf-yoast-seo-validation/pull/5","diff_url":"https://github.com/dachcom-digital/acf-yoast-seo-validation/pull/5.diff","patch_url":"https://github.com/dachcom-digital/acf-yoast-seo-validation/pull/5.patch","issue_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/issues/5","number":5,"state":"closed","locked":false,"title":"Make the script work for nested repeaters and flexible content fields","user":{"login":"TimVevida","id":16288300,"avatar_url":"https://avatars.githubusercontent.com/u/16288300?v=3","gravatar_id":"","url":"https://api.github.com/users/TimVevida","html_url":"https://github.com/TimVevida","followers_url":"https://api.github.com/users/TimVevida/followers","following_url":"https://api.github.com/users/TimVevida/following{/other_user}","gists_url":"https://api.github.com/users/TimVevida/gists{/gist_id}","starred_url":"https://api.github.com/users/TimVevida/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimVevida/subscriptions","organizations_url":"https://api.github.com/users/TimVevida/orgs","repos_url":"https://api.github.com/users/TimVevida/repos","events_url":"https://api.github.com/users/TimVevida/events{/privacy}","received_events_url":"https://api.github.com/users/TimVevida/received_events","type":"User","site_admin":false},"body":"The nesting of repeaters and flexible field groups may have arbitrary\r\ndepth.\r\n\r\nMake sure the addAcfDataToContent()-function can work with an object\r\nwith nested content fields.\r\n\r\nI added a function deleteContent(), which deletes the data of a field\r\n(repeater row or layout) when it is removed. This makes the function\r\nupdateRepeater() redundant.\r\n\r\nThe parameters updateYoast and updateRepeater of the setContent()\r\nfunction are also redundant and have been removed. Therefore, the\r\nfunction initContent() would only directly call setContent(), so it is\r\nremoved and replaced with a direct call to setContent().\r\n\r\nUse jQuery's `attr('data-<name>')` instead of `data('<name>')`, because the\r\nlatter gives incorrect results for newly added rows/layout","created_at":"2016-02-12T13:16:03Z","updated_at":"2016-02-16T22:53:01Z","closed_at":"2016-02-16T22:53:01Z","merged_at":"2016-02-16T22:53:01Z","merge_commit_sha":"67a919ea6e2ef6aa49a7d25e463fa5b0829b2cc4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/pulls/5/commits","review_comments_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/pulls/5/comments","review_comment_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/issues/5/comments","statuses_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/statuses/bfe11c1925d599a7387a6c3a0b1b58144d4d77e2","head":{"label":"TimVevida:master","ref":"master","sha":"bfe11c1925d599a7387a6c3a0b1b58144d4d77e2","user":{"login":"TimVevida","id":16288300,"avatar_url":"https://avatars.githubusercontent.com/u/16288300?v=3","gravatar_id":"","url":"https://api.github.com/users/TimVevida","html_url":"https://github.com/TimVevida","followers_url":"https://api.github.com/users/TimVevida/followers","following_url":"https://api.github.com/users/TimVevida/following{/other_user}","gists_url":"https://api.github.com/users/TimVevida/gists{/gist_id}","starred_url":"https://api.github.com/users/TimVevida/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimVevida/subscriptions","organizations_url":"https://api.github.com/users/TimVevida/orgs","repos_url":"https://api.github.com/users/TimVevida/repos","events_url":"https://api.github.com/users/TimVevida/events{/privacy}","received_events_url":"https://api.github.com/users/TimVevida/received_events","type":"User","site_admin":false},"repo":{"id":51519570,"name":"acf-yoast-seo-validation","full_name":"TimVevida/acf-yoast-seo-validation","owner":{"login":"TimVevida","id":16288300,"avatar_url":"https://avatars.githubusercontent.com/u/16288300?v=3","gravatar_id":"","url":"https://api.github.com/users/TimVevida","html_url":"https://github.com/TimVevida","followers_url":"https://api.github.com/users/TimVevida/followers","following_url":"https://api.github.com/users/TimVevida/following{/other_user}","gists_url":"https://api.github.com/users/TimVevida/gists{/gist_id}","starred_url":"https://api.github.com/users/TimVevida/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimVevida/subscriptions","organizations_url":"https://api.github.com/users/TimVevida/orgs","repos_url":"https://api.github.com/users/TimVevida/repos","events_url":"https://api.github.com/users/TimVevida/events{/privacy}","received_events_url":"https://api.github.com/users/TimVevida/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TimVevida/acf-yoast-seo-validation","description":"Add Yoast SEO Validation to your ACF Fields.","fork":true,"url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation","forks_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/forks","keys_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/teams","hooks_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/hooks","issue_events_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/issues/events{/number}","events_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/events","assignees_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/assignees{/user}","branches_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/branches{/branch}","tags_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/tags","blobs_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/git/refs{/sha}","trees_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/statuses/{sha}","languages_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/languages","stargazers_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/stargazers","contributors_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/contributors","subscribers_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/subscribers","subscription_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/subscription","commits_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/commits{/sha}","git_commits_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/git/commits{/sha}","comments_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/comments{/number}","issue_comment_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/issues/comments{/number}","contents_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/contents/{+path}","compare_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/merges","archive_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/downloads","issues_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/issues{/number}","pulls_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/pulls{/number}","milestones_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/milestones{/number}","notifications_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/labels{/name}","releases_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/releases{/id}","deployments_url":"https://api.github.com/repos/TimVevida/acf-yoast-seo-validation/deployments","created_at":"2016-02-11T14:22:44Z","updated_at":"2016-02-11T14:22:46Z","pushed_at":"2016-02-12T13:12:42Z","git_url":"git://github.com/TimVevida/acf-yoast-seo-validation.git","ssh_url":"git@github.com:TimVevida/acf-yoast-seo-validation.git","clone_url":"https://github.com/TimVevida/acf-yoast-seo-validation.git","svn_url":"https://github.com/TimVevida/acf-yoast-seo-validation","homepage":"","size":7,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dachcom-digital:master","ref":"master","sha":"a7d2e2b8662f639ef4fe85c381873b8193ac3c38","user":{"login":"dachcom-digital","id":5484669,"avatar_url":"https://avatars.githubusercontent.com/u/5484669?v=3","gravatar_id":"","url":"https://api.github.com/users/dachcom-digital","html_url":"https://github.com/dachcom-digital","followers_url":"https://api.github.com/users/dachcom-digital/followers","following_url":"https://api.github.com/users/dachcom-digital/following{/other_user}","gists_url":"https://api.github.com/users/dachcom-digital/gists{/gist_id}","starred_url":"https://api.github.com/users/dachcom-digital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dachcom-digital/subscriptions","organizations_url":"https://api.github.com/users/dachcom-digital/orgs","repos_url":"https://api.github.com/users/dachcom-digital/repos","events_url":"https://api.github.com/users/dachcom-digital/events{/privacy}","received_events_url":"https://api.github.com/users/dachcom-digital/received_events","type":"Organization","site_admin":false},"repo":{"id":50652788,"name":"acf-yoast-seo-validation","full_name":"dachcom-digital/acf-yoast-seo-validation","owner":{"login":"dachcom-digital","id":5484669,"avatar_url":"https://avatars.githubusercontent.com/u/5484669?v=3","gravatar_id":"","url":"https://api.github.com/users/dachcom-digital","html_url":"https://github.com/dachcom-digital","followers_url":"https://api.github.com/users/dachcom-digital/followers","following_url":"https://api.github.com/users/dachcom-digital/following{/other_user}","gists_url":"https://api.github.com/users/dachcom-digital/gists{/gist_id}","starred_url":"https://api.github.com/users/dachcom-digital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dachcom-digital/subscriptions","organizations_url":"https://api.github.com/users/dachcom-digital/orgs","repos_url":"https://api.github.com/users/dachcom-digital/repos","events_url":"https://api.github.com/users/dachcom-digital/events{/privacy}","received_events_url":"https://api.github.com/users/dachcom-digital/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dachcom-digital/acf-yoast-seo-validation","description":"Add Yoast SEO Validation to your ACF Fields.","fork":false,"url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation","forks_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/forks","keys_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/teams","hooks_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/hooks","issue_events_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/issues/events{/number}","events_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/events","assignees_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/assignees{/user}","branches_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/branches{/branch}","tags_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/tags","blobs_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/git/refs{/sha}","trees_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/statuses/{sha}","languages_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/languages","stargazers_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/stargazers","contributors_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/contributors","subscribers_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/subscribers","subscription_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/subscription","commits_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/commits{/sha}","git_commits_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/git/commits{/sha}","comments_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/comments{/number}","issue_comment_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/issues/comments{/number}","contents_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/contents/{+path}","compare_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/merges","archive_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/downloads","issues_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/issues{/number}","pulls_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/pulls{/number}","milestones_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/milestones{/number}","notifications_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/labels{/name}","releases_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/releases{/id}","deployments_url":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/deployments","created_at":"2016-01-29T09:30:34Z","updated_at":"2016-02-06T20:44:46Z","pushed_at":"2016-02-16T22:53:01Z","git_url":"git://github.com/dachcom-digital/acf-yoast-seo-validation.git","ssh_url":"git@github.com:dachcom-digital/acf-yoast-seo-validation.git","clone_url":"https://github.com/dachcom-digital/acf-yoast-seo-validation.git","svn_url":"https://github.com/dachcom-digital/acf-yoast-seo-validation","homepage":"","size":6,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/pulls/5"},"html":{"href":"https://github.com/dachcom-digital/acf-yoast-seo-validation/pull/5"},"issue":{"href":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/issues/5"},"comments":{"href":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/dachcom-digital/acf-yoast-seo-validation/statuses/bfe11c1925d599a7387a6c3a0b1b58144d4d77e2"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"solverat","id":700119,"avatar_url":"https://avatars.githubusercontent.com/u/700119?v=3","gravatar_id":"","url":"https://api.github.com/users/solverat","html_url":"https://github.com/solverat","followers_url":"https://api.github.com/users/solverat/followers","following_url":"https://api.github.com/users/solverat/following{/other_user}","gists_url":"https://api.github.com/users/solverat/gists{/gist_id}","starred_url":"https://api.github.com/users/solverat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solverat/subscriptions","organizations_url":"https://api.github.com/users/solverat/orgs","repos_url":"https://api.github.com/users/solverat/repos","events_url":"https://api.github.com/users/solverat/events{/privacy}","received_events_url":"https://api.github.com/users/solverat/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":56,"deletions":60,"changed_files":1}}