GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Pull Request — master (#69)
by Vincent
02:44
created
web/app/themes/stash/lib/admin.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
     return admin_url('edit.php?post_type=page');
12 12
 }
13 13
 
14
-add_filter('login_redirect', __NAMESPACE__ . '\\login_redirect', 10, 3);
14
+add_filter('login_redirect', __NAMESPACE__.'\\login_redirect', 10, 3);
15 15
 
16 16
 function remove_menu()
17 17
 {
@@ -19,28 +19,28 @@  discard block
 block discarded – undo
19 19
     remove_menu_page('edit-comments.php'); //comments
20 20
 }
21 21
 
22
-add_action('admin_menu', __NAMESPACE__ . '\\remove_menu', 99);
22
+add_action('admin_menu', __NAMESPACE__.'\\remove_menu', 99);
23 23
 
24 24
 function remove_wp_logo($wp_admin_bar)
25 25
 {
26 26
     $wp_admin_bar->remove_node('wp-logo');
27 27
 }
28 28
 
29
-add_action('admin_bar_menu', __NAMESPACE__ . '\\remove_wp_logo', 999);
29
+add_action('admin_bar_menu', __NAMESPACE__.'\\remove_wp_logo', 999);
30 30
 
31 31
 function change_footer_admin()
32 32
 {
33 33
     return ' ';
34 34
 }
35 35
 
36
-add_filter('admin_footer_text', __NAMESPACE__ . '\\change_footer_admin', 9999);
36
+add_filter('admin_footer_text', __NAMESPACE__.'\\change_footer_admin', 9999);
37 37
 
38 38
 function change_footer_version()
39 39
 {
40 40
     return ' ';
41 41
 }
42 42
 
43
-add_filter('update_footer', __NAMESPACE__ . '\\change_footer_version', 9999);
43
+add_filter('update_footer', __NAMESPACE__.'\\change_footer_version', 9999);
44 44
 
45 45
 /*
46 46
  * Change the opacity of WordPress Admin Bar
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
 }
53 53
 
54 54
 if (!is_admin()) {
55
-    add_action('wp_head', __NAMESPACE__ . '\\adminbar_opacity');
55
+    add_action('wp_head', __NAMESPACE__.'\\adminbar_opacity');
56 56
 }
57 57
 
58 58
 /*
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     exit;
65 65
 }
66 66
 
67
-add_action('wp_dashboard_setup', __NAMESPACE__ . '\\redirect_from_dashboard');
67
+add_action('wp_dashboard_setup', __NAMESPACE__.'\\redirect_from_dashboard');
68 68
 
69 69
 function admin_menu()
70 70
 {
@@ -73,11 +73,11 @@  discard block
 block discarded – undo
73 73
     $menu[0] = array(__('STASH'), 'read', '#', 'undefined-logo', 'undefined-logo');
74 74
 }
75 75
 
76
-add_action('admin_menu', __NAMESPACE__ . '\\admin_menu');
76
+add_action('admin_menu', __NAMESPACE__.'\\admin_menu');
77 77
 
78 78
 function admin_style()
79 79
 {
80
-    echo '<link rel="stylesheet" href="' . get_template_directory_uri() . '/dist/css/admin/main.css" type="text/css" media="all" />';
80
+    echo '<link rel="stylesheet" href="'.get_template_directory_uri().'/dist/css/admin/main.css" type="text/css" media="all" />';
81 81
 }
82 82
 
83
-add_action('admin_head', __NAMESPACE__ . '\\admin_style');
83
+add_action('admin_head', __NAMESPACE__.'\\admin_style');
Please login to merge, or discard this patch.