{"action":"created","comment":{"url":"https://api.github.com/repos/Xerzing/WP-Tenders/pulls/comments/224019997","pull_request_review_id":163275452,"id":224019997,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDAxOTk5Nw==","diff_hunk":"@@ -0,0 +1,74 @@\n+<?php\n+/**\n+ * Created by PhpStorm.\n+ * User: root\n+ * Date: 03.10.18\n+ * Time: 14:22\n+ */\n+\n+class Theme_Settings\n+{\n+    public function __construct()\n+    {\n+        add_action('after_setup_theme', array($this, 'maxbstheme_setup')); //Do not replace\n+        add_action('show_admin_bar', ('__return_false')); //Do not replace\n+        //AJAX\n+        add_action('wp_enqueue_scripts', array($this, 'ajax_connect')); //Do not replace\n+        add_action('wp_ajax_nopriv_ajax_pagination', array($this, 'my_ajax_pagination')); //Do not replace\n+        add_action('wp_ajax_ajax_pagination', array($this, 'my_ajax_pagination')); //Do not replace\n+        //Taking away h1-tag of pagination\n+        add_filter('navigation_markup_template', array($this, 'markup_pagination'), 10, 2 ); //Do not replace\n+    }\n+\n+    // Setting menu\n+    public function maxbstheme_setup() {\n+        add_theme_support('post-thumbnails');\n+\n+        //Navigation\n+        register_nav_menus(array(\n+            'primary' => __('Primary Menu')\n+        ));\n+    }\n+\n+    public function ajax_connect()\n+    {\n+        global $wp_query;\n+        wp_enqueue_script('tender-ajax-request', 'https://code.jquery.com/jquery-3.3.1.min.js');\n+        wp_localize_script('tender-ajax-request', 'TendAjax', array(\n+            'ajax_url' => admin_url('admin-ajax.php'),\n+            'query_vars' => json_encode( $wp_query->query )\n+        ));\n+    }\n+\n+    // Show other posts by click in pagination buttons\n+    public function my_ajax_pagination() {","path":"wp-content/themes/maxbstheme/inc/Theme_Settings.php","position":44,"original_position":44,"commit_id":"8de25fdfe9a674edb48d44e974638bbadcaddea1","original_commit_id":"8de25fdfe9a674edb48d44e974638bbadcaddea1","user":{"login":"NazarShershen","id":20286852,"node_id":"MDQ6VXNlcjIwMjg2ODUy","avatar_url":"https://avatars1.githubusercontent.com/u/20286852?v=4","gravatar_id":"","url":"https://api.github.com/users/NazarShershen","html_url":"https://github.com/NazarShershen","followers_url":"https://api.github.com/users/NazarShershen/followers","following_url":"https://api.github.com/users/NazarShershen/following{/other_user}","gists_url":"https://api.github.com/users/NazarShershen/gists{/gist_id}","starred_url":"https://api.github.com/users/NazarShershen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NazarShershen/subscriptions","organizations_url":"https://api.github.com/users/NazarShershen/orgs","repos_url":"https://api.github.com/users/NazarShershen/repos","events_url":"https://api.github.com/users/NazarShershen/events{/privacy}","received_events_url":"https://api.github.com/users/NazarShershen/received_events","type":"User","site_admin":false},"body":"назва функції незрозуміла","created_at":"2018-10-10T10:24:40Z","updated_at":"2018-10-10T10:35:26Z","html_url":"https://github.com/Xerzing/WP-Tenders/pull/3#discussion_r224019997","pull_request_url":"https://api.github.com/repos/Xerzing/WP-Tenders/pulls/3","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Xerzing/WP-Tenders/pulls/comments/224019997"},"html":{"href":"https://github.com/Xerzing/WP-Tenders/pull/3#discussion_r224019997"},"pull_request":{"href":"https://api.github.com/repos/Xerzing/WP-Tenders/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/Xerzing/WP-Tenders/pulls/3","id":220460246,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwNDYwMjQ2","html_url":"https://github.com/Xerzing/WP-Tenders/pull/3","diff_url":"https://github.com/Xerzing/WP-Tenders/pull/3.diff","patch_url":"https://github.com/Xerzing/WP-Tenders/pull/3.patch","issue_url":"https://api.github.com/repos/Xerzing/WP-Tenders/issues/3","number":3,"state":"open","locked":false,"title":"Second version of WP-Tenders","user":{"login":"Xerzing","id":26060884,"node_id":"MDQ6VXNlcjI2MDYwODg0","avatar_url":"https://avatars0.githubusercontent.com/u/26060884?v=4","gravatar_id":"","url":"https://api.github.com/users/Xerzing","html_url":"https://github.com/Xerzing","followers_url":"https://api.github.com/users/Xerzing/followers","following_url":"https://api.github.com/users/Xerzing/following{/other_user}","gists_url":"https://api.github.com/users/Xerzing/gists{/gist_id}","starred_url":"https://api.github.com/users/Xerzing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xerzing/subscriptions","organizations_url":"https://api.github.com/users/Xerzing/orgs","repos_url":"https://api.github.com/users/Xerzing/repos","events_url":"https://api.github.com/users/Xerzing/events{/privacy}","received_events_url":"https://api.github.com/users/Xerzing/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-04T17:38:48Z","updated_at":"2018-10-10T10:35:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"78da43e035515aea93848bbf785f6918efae59b6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Xerzing/WP-Tenders/pulls/3/commits","review_comments_url":"https://api.github.com/repos/Xerzing/WP-Tenders/pulls/3/comments","review_comment_url":"https://api.github.com/repos/Xerzing/WP-Tenders/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Xerzing/WP-Tenders/issues/3/comments","statuses_url":"https://api.github.com/repos/Xerzing/WP-Tenders/statuses/8de25fdfe9a674edb48d44e974638bbadcaddea1","head":{"label":"Xerzing:ver_two","ref":"ver_two","sha":"8de25fdfe9a674edb48d44e974638bbadcaddea1","user":{"login":"Xerzing","id":26060884,"node_id":"MDQ6VXNlcjI2MDYwODg0","avatar_url":"https://avatars0.githubusercontent.com/u/26060884?v=4","gravatar_id":"","url":"https://api.github.com/users/Xerzing","html_url":"https://github.com/Xerzing","followers_url":"https://api.github.com/users/Xerzing/followers","following_url":"https://api.github.com/users/Xerzing/following{/other_user}","gists_url":"https://api.github.com/users/Xerzing/gists{/gist_id}","starred_url":"https://api.github.com/users/Xerzing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xerzing/subscriptions","organizations_url":"https://api.github.com/users/Xerzing/orgs","repos_url":"https://api.github.com/users/Xerzing/repos","events_url":"https://api.github.com/users/Xerzing/events{/privacy}","received_events_url":"https://api.github.com/users/Xerzing/received_events","type":"User","site_admin":false},"repo":{"id":150605169,"node_id":"MDEwOlJlcG9zaXRvcnkxNTA2MDUxNjk=","name":"WP-Tenders","full_name":"Xerzing/WP-Tenders","private":false,"owner":{"login":"Xerzing","id":26060884,"node_id":"MDQ6VXNlcjI2MDYwODg0","avatar_url":"https://avatars0.githubusercontent.com/u/26060884?v=4","gravatar_id":"","url":"https://api.github.com/users/Xerzing","html_url":"https://github.com/Xerzing","followers_url":"https://api.github.com/users/Xerzing/followers","following_url":"https://api.github.com/users/Xerzing/following{/other_user}","gists_url":"https://api.github.com/users/Xerzing/gists{/gist_id}","starred_url":"https://api.github.com/users/Xerzing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xerzing/subscriptions","organizations_url":"https://api.github.com/users/Xerzing/orgs","repos_url":"https://api.github.com/users/Xerzing/repos","events_url":"https://api.github.com/users/Xerzing/events{/privacy}","received_events_url":"https://api.github.com/users/Xerzing/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Xerzing/WP-Tenders","description":null,"fork":false,"url":"https://api.github.com/repos/Xerzing/WP-Tenders","forks_url":"https://api.github.com/repos/Xerzing/WP-Tenders/forks","keys_url":"https://api.github.com/repos/Xerzing/WP-Tenders/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Xerzing/WP-Tenders/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Xerzing/WP-Tenders/teams","hooks_url":"https://api.github.com/repos/Xerzing/WP-Tenders/hooks","issue_events_url":"https://api.github.com/repos/Xerzing/WP-Tenders/issues/events{/number}","events_url":"https://api.github.com/repos/Xerzing/WP-Tenders/events","assignees_url":"https://api.github.com/repos/Xerzing/WP-Tenders/assignees{/user}","branches_url":"https://api.github.com/repos/Xerzing/WP-Tenders/branches{/branch}","tags_url":"https://api.github.com/repos/Xerzing/WP-Tenders/tags","blobs_url":"https://api.github.com/repos/Xerzing/WP-Tenders/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Xerzing/WP-Tenders/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Xerzing/WP-Tenders/git/refs{/sha}","trees_url":"https://api.github.com/repos/Xerzing/WP-Tenders/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Xerzing/WP-Tenders/statuses/{sha}","languages_url":"https://api.github.com/repos/Xerzing/WP-Tenders/languages","stargazers_url":"https://api.github.com/repos/Xerzing/WP-Tenders/stargazers","contributors_url":"https://api.github.com/repos/Xerzing/WP-Tenders/contributors","subscribers_url":"https://api.github.com/repos/Xerzing/WP-Tenders/subscribers","subscription_url":"https://api.github.com/repos/Xerzing/WP-Tenders/subscription","commits_url":"https://api.github.com/repos/Xerzing/WP-Tenders/commits{/sha}","git_commits_url":"https://api.github.com/repos/Xerzing/WP-Tenders/git/commits{/sha}","comments_url":"https://api.github.com/repos/Xerzing/WP-Tenders/comments{/number}","issue_comment_url":"https://api.github.com/repos/Xerzing/WP-Tenders/issues/comments{/number}","contents_url":"https://api.github.com/repos/Xerzing/WP-Tenders/contents/{+path}","compare_url":"https://api.github.com/repos/Xerzing/WP-Tenders/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Xerzing/WP-Tenders/merges","archive_url":"https://api.github.com/repos/Xerzing/WP-Tenders/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Xerzing/WP-Tenders/downloads","issues_url":"https://api.github.com/repos/Xerzing/WP-Tenders/issues{/number}","pulls_url":"https://api.github.com/repos/Xerzing/WP-Tenders/pulls{/number}","milestones_url":"https://api.github.com/repos/Xerzing/WP-Tenders/milestones{/number}","notifications_url":"https://api.github.com/repos/Xerzing/WP-Tenders/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Xerzing/WP-Tenders/labels{/name}","releases_url":"https://api.github.com/repos/Xerzing/WP-Tenders/releases{/id}","deployments_url":"https://api.github.com/repos/Xerzing/WP-Tenders/deployments","created_at":"2018-09-27T15:02:53Z","updated_at":"2018-10-04T17:33:12Z","pushed_at":"2018-10-10T09:06:25Z","git_url":"git://github.com/Xerzing/WP-Tenders.git","ssh_url":"git@github.com:Xerzing/WP-Tenders.git","clone_url":"https://github.com/Xerzing/WP-Tenders.git","svn_url":"https://github.com/Xerzing/WP-Tenders","homepage":null,"size":10628,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"other","name":"NOASSERTION","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"Xerzing:master","ref":"master","sha":"95f59c2025f708f827afb4bf091ee3c1bf208e29","user":{"login":"Xerzing","id":26060884,"node_id":"MDQ6VXNlcjI2MDYwODg0","avatar_url":"https://avatars0.githubusercontent.com/u/26060884?v=4","gravatar_id":"","url":"https://api.github.com/users/Xerzing","html_url":"https://github.com/Xerzing","followers_url":"https://api.github.com/users/Xerzing/followers","following_url":"https://api.github.com/users/Xerzing/following{/other_user}","gists_url":"https://api.github.com/users/Xerzing/gists{/gist_id}","starred_url":"https://api.github.com/users/Xerzing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xerzing/subscriptions","organizations_url":"https://api.github.com/users/Xerzing/orgs","repos_url":"https://api.github.com/users/Xerzing/repos","events_url":"https://api.github.com/users/Xerzing/events{/privacy}","received_events_url":"https://api.github.com/users/Xerzing/received_events","type":"User","site_admin":false},"repo":{"id":150605169,"node_id":"MDEwOlJlcG9zaXRvcnkxNTA2MDUxNjk=","name":"WP-Tenders","full_name":"Xerzing/WP-Tenders","private":false,"owner":{"login":"Xerzing","id":26060884,"node_id":"MDQ6VXNlcjI2MDYwODg0","avatar_url":"https://avatars0.githubusercontent.com/u/26060884?v=4","gravatar_id":"","url":"https://api.github.com/users/Xerzing","html_url":"https://github.com/Xerzing","followers_url":"https://api.github.com/users/Xerzing/followers","following_url":"https://api.github.com/users/Xerzing/following{/other_user}","gists_url":"https://api.github.com/users/Xerzing/gists{/gist_id}","starred_url":"https://api.github.com/users/Xerzing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xerzing/subscriptions","organizations_url":"https://api.github.com/users/Xerzing/orgs","repos_url":"https://api.github.com/users/Xerzing/repos","events_url":"https://api.github.com/users/Xerzing/events{/privacy}","received_events_url":"https://api.github.com/users/Xerzing/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Xerzing/WP-Tenders","description":null,"fork":false,"url":"https://api.github.com/repos/Xerzing/WP-Tenders","forks_url":"https://api.github.com/repos/Xerzing/WP-Tenders/forks","keys_url":"https://api.github.com/repos/Xerzing/WP-Tenders/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Xerzing/WP-Tenders/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Xerzing/WP-Tenders/teams","hooks_url":"https://api.github.com/repos/Xerzing/WP-Tenders/hooks","issue_events_url":"https://api.github.com/repos/Xerzing/WP-Tenders/issues/events{/number}","events_url":"https://api.github.com/repos/Xerzing/WP-Tenders/events","assignees_url":"https://api.github.com/repos/Xerzing/WP-Tenders/assignees{/user}","branches_url":"https://api.github.com/repos/Xerzing/WP-Tenders/branches{/branch}","tags_url":"https://api.github.com/repos/Xerzing/WP-Tenders/tags","blobs_url":"https://api.github.com/repos/Xerzing/WP-Tenders/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Xerzing/WP-Tenders/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Xerzing/WP-Tenders/git/refs{/sha}","trees_url":"https://api.github.com/repos/Xerzing/WP-Tenders/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Xerzing/WP-Tenders/statuses/{sha}","languages_url":"https://api.github.com/repos/Xerzing/WP-Tenders/languages","stargazers_url":"https://api.github.com/repos/Xerzing/WP-Tenders/stargazers","contributors_url":"https://api.github.com/repos/Xerzing/WP-Tenders/contributors","subscribers_url":"https://api.github.com/repos/Xerzing/WP-Tenders/subscribers","subscription_url":"https://api.github.com/repos/Xerzing/WP-Tenders/subscription","commits_url":"https://api.github.com/repos/Xerzing/WP-Tenders/commits{/sha}","git_commits_url":"https://api.github.com/repos/Xerzing/WP-Tenders/git/commits{/sha}","comments_url":"https://api.github.com/repos/Xerzing/WP-Tenders/comments{/number}","issue_comment_url":"https://api.github.com/repos/Xerzing/WP-Tenders/issues/comments{/number}","contents_url":"https://api.github.com/repos/Xerzing/WP-Tenders/contents/{+path}","compare_url":"https://api.github.com/repos/Xerzing/WP-Tenders/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Xerzing/WP-Tenders/merges","archive_url":"https://api.github.com/repos/Xerzing/WP-Tenders/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Xerzing/WP-Tenders/downloads","issues_url":"https://api.github.com/repos/Xerzing/WP-Tenders/issues{/number}","pulls_url":"https://api.github.com/repos/Xerzing/WP-Tenders/pulls{/number}","milestones_url":"https://api.github.com/repos/Xerzing/WP-Tenders/milestones{/number}","notifications_url":"https://api.github.com/repos/Xerzing/WP-Tenders/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Xerzing/WP-Tenders/labels{/name}","releases_url":"https://api.github.com/repos/Xerzing/WP-Tenders/releases{/id}","deployments_url":"https://api.github.com/repos/Xerzing/WP-Tenders/deployments","created_at":"2018-09-27T15:02:53Z","updated_at":"2018-10-04T17:33:12Z","pushed_at":"2018-10-10T09:06:25Z","git_url":"git://github.com/Xerzing/WP-Tenders.git","ssh_url":"git@github.com:Xerzing/WP-Tenders.git","clone_url":"https://github.com/Xerzing/WP-Tenders.git","svn_url":"https://github.com/Xerzing/WP-Tenders","homepage":null,"size":10628,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"other","name":"NOASSERTION","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Xerzing/WP-Tenders/pulls/3"},"html":{"href":"https://github.com/Xerzing/WP-Tenders/pull/3"},"issue":{"href":"https://api.github.com/repos/Xerzing/WP-Tenders/issues/3"},"comments":{"href":"https://api.github.com/repos/Xerzing/WP-Tenders/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/Xerzing/WP-Tenders/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/Xerzing/WP-Tenders/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Xerzing/WP-Tenders/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/Xerzing/WP-Tenders/statuses/8de25fdfe9a674edb48d44e974638bbadcaddea1"}},"author_association":"OWNER"}}
{"actor":{"display_login":"NazarShershen"}}