{"action":"created","comment":{"url":"https://api.github.com/repos/lukad03/angeladuckworth/pulls/comments/52939257","id":52939257,"diff_hunk":"@@ -0,0 +1,260 @@\n+/* TableSorter 2.0 Widgets\r\n+ *\r\n+ * jQuery UI Theme\r\n+ * Column Styles\r\n+ * Column Filters\r\n+ * Sticky Header\r\n+ * Column Resizing\r\n+ *\r\n+ */\r\n+(function($){\r\n+\r\n+// Add jQuery UI theme widget\r\n+// **************************\r\n+$.tablesorter.addWidget({\r\n+\tid: \"uitheme\",\r\n+\tformat: function(table) {\r\n+\t\tvar time, klass, rmv, c = table.config,\r\n+\t\t// [\"up/down arrow (cssHeaders, unsorted)\", \"down arrow (cssDesc, descending)\", \"up arrow (cssAsc, ascending)\" ]\r\n+\t\ticons = [\"ui-icon-arrowthick-2-n-s\", \"ui-icon-arrowthick-1-s\", \"ui-icon-arrowthick-1-n\"];\r\n+\t\tif (c.widgetUitheme && c.widgetUitheme.hasOwnProperty('css')) { icons = c.widgetUitheme.css || icons; }\r\n+\t\trmv = icons.join(' ');\r\n+\t\tif (c.debug) {\r\n+\t\t\ttime = new Date();\r\n+\t\t}\r\n+\t\tif (!$(table).is('.ui-theme')) {\r\n+\t\t\t$(table).addClass('ui-widget ui-widget-content ui-corner-all ui-theme');\r\n+\t\t\t$.each(c.headerList, function(){\r\n+\t\t\t    if(!this.sortDisabled === true) {\r\n+\t\t\t\t\t$(this)\r\n+\t\t\t\t\t// using \"ui-theme\" class in case the user adds their own ui-icon using onRenderHeader\r\n+\t\t\t\t\t.addClass('ui-widget-header ui-corner-all')\r\n+\t\t\t\t\t.append('<span class=\"ui-icon\"/>')\r\n+\t\t\t\t\t.hover(function(){\r\n+\t\t\t\t\t\t$(this).addClass('ui-state-hover');\r\n+\t\t\t\t\t}, function(){\r\n+\t\t\t\t\t\t$(this).removeClass('ui-state-hover');\r\n+\t\t\t\t\t});\r\n+\t\t\t\t}\r\n+\t\t\t});\r\n+\t\t}\r\n+\t\t$.each(c.headerList, function(i){\r\n+\t\t\tif (this.sortDisabled === true) {\r\n+\t\t\t\t// no sort arrows for disabled columns!\r\n+\t\t\t\t$(this).find('span.ui-widget-header').remove('.ui-icon');\r\n+\t\t\t} else {\r\n+\t\t\t\tklass = ($(this).is('.' + c.cssAsc)) ? icons[1] : ($(this).is('.' + c.cssDesc)) ? icons[2] : $(this).is('.' + c.cssHeader) ? icons[0] : '';\r\n+\t\t\t\t$(this)[klass === icons[0] ? 'removeClass' : 'addClass']('ui-state-active')\r\n+\t\t\t\t\t.find('span.ui-icon').removeClass(rmv).addClass(klass);\r\n+\t\t\t}\r\n+\t\t});\r\n+\t\tif (c.debug) {\r\n+\t\t\t$.tablesorter.benchmark(\"Applying uitheme widget\", time);\r\n+\t\t}\r\n+\t}\r\n+});\r\n+\r\n+// Add Column styles widget\r\n+// **************************\r\n+$.tablesorter.addWidget({\r\n+\tid: \"columns\",\r\n+\tformat: function(table) {\r\n+\t\tvar $td, time, i, last, rmv,\r\n+\t\tc = table.config,\r\n+\t\tlist = c.sortList,\r\n+\t\tlen = list.length,\r\n+\t\tcss = [ \"primary\", \"secondary\", \"tertiary\" ];\r\n+\t\tif (c.widgetColumns && c.widgetColumns.hasOwnProperty('css')) { css = c.widgetColumns.css || css; }\r\n+\t\tlast = css.length-1;\r\n+\t\trmv = css.join(' ');\r\n+\t\tif (c.debug) {\r\n+\t\t\ttime = new Date();\r\n+\t\t}\r\n+\t\t// check if there is a sort (on initialization there may not be one)\r\n+\t\tif (list && list[0]) {\r\n+\t\t\t// loop through the visible rows\r\n+\t\t\t$(\"tr:visible\", table.tBodies[0]).each(function (i) {\r\n+\t\t\t\t$td = $(this).children().removeClass(rmv);\r\n+\t\t\t\t// primary sort column class\r\n+\t\t\t\t$td.eq(list[0][0]).addClass(css[0]);\r\n+\t\t\t\tif (len > 1) {\r\n+\t\t\t\t\tfor (i=1; i<len; i++){\r\n+\t\t\t\t\t\t// secondary, tertiary, etc sort column classes\r\n+\t\t\t\t\t\t$td.eq(list[i][0]).addClass( css[i] || css[last] );\r\n+\t\t\t\t\t}\r\n+\t\t\t\t}\r\n+\t\t\t});\r\n+\t\t}\r\n+\t\tif (c.debug) {\r\n+\t\t\t$.tablesorter.benchmark(\"Applying Columns widget\", time);\r\n+\t\t}\r\n+\t}\r\n+});\r\n+\r\n+// Add Filter widget\r\n+// **************************\r\n+$.tablesorter.addWidget({\r\n+\tid: \"filter\",\r\n+\tformat: function(table) {\r\n+\t\tif (!table.config.filtering) {\r\n+\t\t\tvar i, v, r, t, $td, c = table.config,\r\n+\t\t\t\tcols = c.headerList.length,\r\n+\t\t\t\ttbl = $(table),\r\n+\t\t\t\tfr = '<tr class=\"filters\">',\r\n+\t\t\t\ttime;\r\n+\t\t\tif (c.debug) {\r\n+\t\t\t\ttime = new Date();\r\n+\t\t\t}\r\n+\t\t\tfor (i=0; i < cols; i++){\r\n+\t\t\t\tfr += '<td><input type=\"text\" class=\"filter\" data-col=\"' + i + '\" style=\"';\r\n+\t\t\t\t// use header option - headers: { 1: { filter: false } } OR add class=\"filter-false\"\r\n+\t\t\t\tfr += ((c.headers[i] && 'filter' in c.headers[i] && c.headers[i].filter === false) || $(c.headerList[i]).is('.filter-false') ) ? 'visibility:hidden' : '';\r\n+\t\t\t\tfr += '\"></td>';\r\n+\t\t\t}\r\n+\t\t\ttbl\r\n+\t\t\t\t.find('thead').append(fr += '</tr>')\r","path":"wp-content/plugins/ptypeconverter/js/jquery.tablesorter.widgets.js","position":115,"original_position":115,"commit_id":"e24235d0236135041dfb909617a3fa97301a3698","original_commit_id":"e24235d0236135041dfb909617a3fa97301a3698","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Mixed double and single quotes.","created_at":"2016-02-15T20:10:59Z","updated_at":"2016-02-15T20:10:59Z","html_url":"https://github.com/lukad03/angeladuckworth/pull/79#discussion_r52939257","pull_request_url":"https://api.github.com/repos/lukad03/angeladuckworth/pulls/79","_links":{"self":{"href":"https://api.github.com/repos/lukad03/angeladuckworth/pulls/comments/52939257"},"html":{"href":"https://github.com/lukad03/angeladuckworth/pull/79#discussion_r52939257"},"pull_request":{"href":"https://api.github.com/repos/lukad03/angeladuckworth/pulls/79"}}},"pull_request":{"url":"https://api.github.com/repos/lukad03/angeladuckworth/pulls/79","id":59408548,"html_url":"https://github.com/lukad03/angeladuckworth/pull/79","diff_url":"https://github.com/lukad03/angeladuckworth/pull/79.diff","patch_url":"https://github.com/lukad03/angeladuckworth/pull/79.patch","issue_url":"https://api.github.com/repos/lukad03/angeladuckworth/issues/79","number":79,"state":"open","locked":false,"title":"Archive for Reviews","user":{"login":"lukad03","id":2506817,"avatar_url":"https://avatars.githubusercontent.com/u/2506817?v=3","gravatar_id":"","url":"https://api.github.com/users/lukad03","html_url":"https://github.com/lukad03","followers_url":"https://api.github.com/users/lukad03/followers","following_url":"https://api.github.com/users/lukad03/following{/other_user}","gists_url":"https://api.github.com/users/lukad03/gists{/gist_id}","starred_url":"https://api.github.com/users/lukad03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukad03/subscriptions","organizations_url":"https://api.github.com/users/lukad03/orgs","repos_url":"https://api.github.com/users/lukad03/repos","events_url":"https://api.github.com/users/lukad03/events{/privacy}","received_events_url":"https://api.github.com/users/lukad03/received_events","type":"User","site_admin":false},"body":"Creates an archive page for reviews. Also renames the post type review to reviews to fix issues with the archive page.\r\n\r\n* Create archive page for reviews post type\r\n* Rename review post type to reviews to fix archive issues\r\n* Add post type converter to convert review posts to reviews","created_at":"2016-02-15T20:10:13Z","updated_at":"2016-02-15T20:10:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5a9daca305c716b04cb24489bcb2d6a5fa1d8496","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lukad03/angeladuckworth/pulls/79/commits","review_comments_url":"https://api.github.com/repos/lukad03/angeladuckworth/pulls/79/comments","review_comment_url":"https://api.github.com/repos/lukad03/angeladuckworth/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lukad03/angeladuckworth/issues/79/comments","statuses_url":"https://api.github.com/repos/lukad03/angeladuckworth/statuses/e24235d0236135041dfb909617a3fa97301a3698","head":{"label":"lukad03:lk-praise-archive","ref":"lk-praise-archive","sha":"e24235d0236135041dfb909617a3fa97301a3698","user":{"login":"lukad03","id":2506817,"avatar_url":"https://avatars.githubusercontent.com/u/2506817?v=3","gravatar_id":"","url":"https://api.github.com/users/lukad03","html_url":"https://github.com/lukad03","followers_url":"https://api.github.com/users/lukad03/followers","following_url":"https://api.github.com/users/lukad03/following{/other_user}","gists_url":"https://api.github.com/users/lukad03/gists{/gist_id}","starred_url":"https://api.github.com/users/lukad03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukad03/subscriptions","organizations_url":"https://api.github.com/users/lukad03/orgs","repos_url":"https://api.github.com/users/lukad03/repos","events_url":"https://api.github.com/users/lukad03/events{/privacy}","received_events_url":"https://api.github.com/users/lukad03/received_events","type":"User","site_admin":false},"repo":{"id":43980220,"name":"angeladuckworth","full_name":"lukad03/angeladuckworth","owner":{"login":"lukad03","id":2506817,"avatar_url":"https://avatars.githubusercontent.com/u/2506817?v=3","gravatar_id":"","url":"https://api.github.com/users/lukad03","html_url":"https://github.com/lukad03","followers_url":"https://api.github.com/users/lukad03/followers","following_url":"https://api.github.com/users/lukad03/following{/other_user}","gists_url":"https://api.github.com/users/lukad03/gists{/gist_id}","starred_url":"https://api.github.com/users/lukad03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukad03/subscriptions","organizations_url":"https://api.github.com/users/lukad03/orgs","repos_url":"https://api.github.com/users/lukad03/repos","events_url":"https://api.github.com/users/lukad03/events{/privacy}","received_events_url":"https://api.github.com/users/lukad03/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lukad03/angeladuckworth","description":"","fork":false,"url":"https://api.github.com/repos/lukad03/angeladuckworth","forks_url":"https://api.github.com/repos/lukad03/angeladuckworth/forks","keys_url":"https://api.github.com/repos/lukad03/angeladuckworth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lukad03/angeladuckworth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lukad03/angeladuckworth/teams","hooks_url":"https://api.github.com/repos/lukad03/angeladuckworth/hooks","issue_events_url":"https://api.github.com/repos/lukad03/angeladuckworth/issues/events{/number}","events_url":"https://api.github.com/repos/lukad03/angeladuckworth/events","assignees_url":"https://api.github.com/repos/lukad03/angeladuckworth/assignees{/user}","branches_url":"https://api.github.com/repos/lukad03/angeladuckworth/branches{/branch}","tags_url":"https://api.github.com/repos/lukad03/angeladuckworth/tags","blobs_url":"https://api.github.com/repos/lukad03/angeladuckworth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lukad03/angeladuckworth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lukad03/angeladuckworth/git/refs{/sha}","trees_url":"https://api.github.com/repos/lukad03/angeladuckworth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lukad03/angeladuckworth/statuses/{sha}","languages_url":"https://api.github.com/repos/lukad03/angeladuckworth/languages","stargazers_url":"https://api.github.com/repos/lukad03/angeladuckworth/stargazers","contributors_url":"https://api.github.com/repos/lukad03/angeladuckworth/contributors","subscribers_url":"https://api.github.com/repos/lukad03/angeladuckworth/subscribers","subscription_url":"https://api.github.com/repos/lukad03/angeladuckworth/subscription","commits_url":"https://api.github.com/repos/lukad03/angeladuckworth/commits{/sha}","git_commits_url":"https://api.github.com/repos/lukad03/angeladuckworth/git/commits{/sha}","comments_url":"https://api.github.com/repos/lukad03/angeladuckworth/comments{/number}","issue_comment_url":"https://api.github.com/repos/lukad03/angeladuckworth/issues/comments{/number}","contents_url":"https://api.github.com/repos/lukad03/angeladuckworth/contents/{+path}","compare_url":"https://api.github.com/repos/lukad03/angeladuckworth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lukad03/angeladuckworth/merges","archive_url":"https://api.github.com/repos/lukad03/angeladuckworth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lukad03/angeladuckworth/downloads","issues_url":"https://api.github.com/repos/lukad03/angeladuckworth/issues{/number}","pulls_url":"https://api.github.com/repos/lukad03/angeladuckworth/pulls{/number}","milestones_url":"https://api.github.com/repos/lukad03/angeladuckworth/milestones{/number}","notifications_url":"https://api.github.com/repos/lukad03/angeladuckworth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lukad03/angeladuckworth/labels{/name}","releases_url":"https://api.github.com/repos/lukad03/angeladuckworth/releases{/id}","deployments_url":"https://api.github.com/repos/lukad03/angeladuckworth/deployments","created_at":"2015-10-09T21:08:12Z","updated_at":"2016-01-13T19:08:13Z","pushed_at":"2016-02-15T20:10:13Z","git_url":"git://github.com/lukad03/angeladuckworth.git","ssh_url":"git@github.com:lukad03/angeladuckworth.git","clone_url":"https://github.com/lukad03/angeladuckworth.git","svn_url":"https://github.com/lukad03/angeladuckworth","homepage":"http://angeladuckworth.com","size":5846,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"lukad03:master","ref":"master","sha":"45fecf27b5b0ee5f91e896f493d84f6bf75d5bcd","user":{"login":"lukad03","id":2506817,"avatar_url":"https://avatars.githubusercontent.com/u/2506817?v=3","gravatar_id":"","url":"https://api.github.com/users/lukad03","html_url":"https://github.com/lukad03","followers_url":"https://api.github.com/users/lukad03/followers","following_url":"https://api.github.com/users/lukad03/following{/other_user}","gists_url":"https://api.github.com/users/lukad03/gists{/gist_id}","starred_url":"https://api.github.com/users/lukad03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukad03/subscriptions","organizations_url":"https://api.github.com/users/lukad03/orgs","repos_url":"https://api.github.com/users/lukad03/repos","events_url":"https://api.github.com/users/lukad03/events{/privacy}","received_events_url":"https://api.github.com/users/lukad03/received_events","type":"User","site_admin":false},"repo":{"id":43980220,"name":"angeladuckworth","full_name":"lukad03/angeladuckworth","owner":{"login":"lukad03","id":2506817,"avatar_url":"https://avatars.githubusercontent.com/u/2506817?v=3","gravatar_id":"","url":"https://api.github.com/users/lukad03","html_url":"https://github.com/lukad03","followers_url":"https://api.github.com/users/lukad03/followers","following_url":"https://api.github.com/users/lukad03/following{/other_user}","gists_url":"https://api.github.com/users/lukad03/gists{/gist_id}","starred_url":"https://api.github.com/users/lukad03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukad03/subscriptions","organizations_url":"https://api.github.com/users/lukad03/orgs","repos_url":"https://api.github.com/users/lukad03/repos","events_url":"https://api.github.com/users/lukad03/events{/privacy}","received_events_url":"https://api.github.com/users/lukad03/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lukad03/angeladuckworth","description":"","fork":false,"url":"https://api.github.com/repos/lukad03/angeladuckworth","forks_url":"https://api.github.com/repos/lukad03/angeladuckworth/forks","keys_url":"https://api.github.com/repos/lukad03/angeladuckworth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lukad03/angeladuckworth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lukad03/angeladuckworth/teams","hooks_url":"https://api.github.com/repos/lukad03/angeladuckworth/hooks","issue_events_url":"https://api.github.com/repos/lukad03/angeladuckworth/issues/events{/number}","events_url":"https://api.github.com/repos/lukad03/angeladuckworth/events","assignees_url":"https://api.github.com/repos/lukad03/angeladuckworth/assignees{/user}","branches_url":"https://api.github.com/repos/lukad03/angeladuckworth/branches{/branch}","tags_url":"https://api.github.com/repos/lukad03/angeladuckworth/tags","blobs_url":"https://api.github.com/repos/lukad03/angeladuckworth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lukad03/angeladuckworth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lukad03/angeladuckworth/git/refs{/sha}","trees_url":"https://api.github.com/repos/lukad03/angeladuckworth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lukad03/angeladuckworth/statuses/{sha}","languages_url":"https://api.github.com/repos/lukad03/angeladuckworth/languages","stargazers_url":"https://api.github.com/repos/lukad03/angeladuckworth/stargazers","contributors_url":"https://api.github.com/repos/lukad03/angeladuckworth/contributors","subscribers_url":"https://api.github.com/repos/lukad03/angeladuckworth/subscribers","subscription_url":"https://api.github.com/repos/lukad03/angeladuckworth/subscription","commits_url":"https://api.github.com/repos/lukad03/angeladuckworth/commits{/sha}","git_commits_url":"https://api.github.com/repos/lukad03/angeladuckworth/git/commits{/sha}","comments_url":"https://api.github.com/repos/lukad03/angeladuckworth/comments{/number}","issue_comment_url":"https://api.github.com/repos/lukad03/angeladuckworth/issues/comments{/number}","contents_url":"https://api.github.com/repos/lukad03/angeladuckworth/contents/{+path}","compare_url":"https://api.github.com/repos/lukad03/angeladuckworth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lukad03/angeladuckworth/merges","archive_url":"https://api.github.com/repos/lukad03/angeladuckworth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lukad03/angeladuckworth/downloads","issues_url":"https://api.github.com/repos/lukad03/angeladuckworth/issues{/number}","pulls_url":"https://api.github.com/repos/lukad03/angeladuckworth/pulls{/number}","milestones_url":"https://api.github.com/repos/lukad03/angeladuckworth/milestones{/number}","notifications_url":"https://api.github.com/repos/lukad03/angeladuckworth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lukad03/angeladuckworth/labels{/name}","releases_url":"https://api.github.com/repos/lukad03/angeladuckworth/releases{/id}","deployments_url":"https://api.github.com/repos/lukad03/angeladuckworth/deployments","created_at":"2015-10-09T21:08:12Z","updated_at":"2016-01-13T19:08:13Z","pushed_at":"2016-02-15T20:10:13Z","git_url":"git://github.com/lukad03/angeladuckworth.git","ssh_url":"git@github.com:lukad03/angeladuckworth.git","clone_url":"https://github.com/lukad03/angeladuckworth.git","svn_url":"https://github.com/lukad03/angeladuckworth","homepage":"http://angeladuckworth.com","size":5846,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lukad03/angeladuckworth/pulls/79"},"html":{"href":"https://github.com/lukad03/angeladuckworth/pull/79"},"issue":{"href":"https://api.github.com/repos/lukad03/angeladuckworth/issues/79"},"comments":{"href":"https://api.github.com/repos/lukad03/angeladuckworth/issues/79/comments"},"review_comments":{"href":"https://api.github.com/repos/lukad03/angeladuckworth/pulls/79/comments"},"review_comment":{"href":"https://api.github.com/repos/lukad03/angeladuckworth/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lukad03/angeladuckworth/pulls/79/commits"},"statuses":{"href":"https://api.github.com/repos/lukad03/angeladuckworth/statuses/e24235d0236135041dfb909617a3fa97301a3698"}}}}