{"action":"closed","issue":{"url":"https://api.github.com/repos/cfoellmann/WordPress/issues/3","repository_url":"https://api.github.com/repos/cfoellmann/WordPress","labels_url":"https://api.github.com/repos/cfoellmann/WordPress/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/cfoellmann/WordPress/issues/3/comments","events_url":"https://api.github.com/repos/cfoellmann/WordPress/issues/3/events","html_url":"https://github.com/cfoellmann/WordPress/issues/3","id":23387061,"node_id":"MDU6SXNzdWUyMzM4NzA2MQ==","number":3,"title":"Architecture?","user":{"login":"cfoellmann","id":1256090,"node_id":"MDQ6VXNlcjEyNTYwOTA=","avatar_url":"https://avatars2.githubusercontent.com/u/1256090?v=4","gravatar_id":"","url":"https://api.github.com/users/cfoellmann","html_url":"https://github.com/cfoellmann","followers_url":"https://api.github.com/users/cfoellmann/followers","following_url":"https://api.github.com/users/cfoellmann/following{/other_user}","gists_url":"https://api.github.com/users/cfoellmann/gists{/gist_id}","starred_url":"https://api.github.com/users/cfoellmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfoellmann/subscriptions","organizations_url":"https://api.github.com/users/cfoellmann/orgs","repos_url":"https://api.github.com/users/cfoellmann/repos","events_url":"https://api.github.com/users/cfoellmann/events{/privacy}","received_events_url":"https://api.github.com/users/cfoellmann/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2013-11-27T13:36:58Z","updated_at":"2018-09-25T09:08:23Z","closed_at":"2018-09-25T09:08:23Z","author_association":"OWNER","body":"I am not sure how we should approach this.\n\nAn idea:\n- introduce a global `$tabs` array (like `$menu`)\n- add `function add_page_tab` (naming to be discussed) similar to `function add_menu_page`\n  ->\n- add `tabs.php` similar to `network/menu.php` to output the tabs on pages\n\nThat's all I got for now. I am not too familiar with core development so please tell me if my idea a possible abstract idea or totally not the way to go.\n\nCurrent $tabs array from `network/site-info.php`:\n\n``` php\n$tabs = array ( \n    [site-info] => array ( \n        [label] => Info \n        [url] => site-info.php\n    ) \n    [site-users] => array ( \n        [label] => Users \n        [url] => site-users.php\n    ) \n    [site-themes] => array ( \n        [label] => Themes \n        [url] => site-themes.php\n    ) \n    [site-settings] => array ( \n        [label] => Settings \n        [url] => site-settings.php\n    ) \n) \n```\n\nWe could aim for it to be used \"everywhere\" to output tabs. Something I wanted for so long\n"}}
{"actor":{"display_login":"cfoellmann"}}