File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,15 +36,15 @@ function json_oauth_admin_register() {
36
36
'list_users ' ,
37
37
38
38
// Menu slug
39
- 'json_oauth ' ,
39
+ 'json-oauth ' ,
40
40
41
41
// Callback
42
42
'json_oauth_admin_render '
43
43
);
44
44
}
45
45
46
46
function json_oauth_admin_prerender () {
47
- $ hook = get_plugin_page_hook ( 'json_oauth ' , 'users.php ' );
47
+ $ hook = get_plugin_page_hook ( 'json-oauth ' , 'users.php ' );
48
48
49
49
add_action ( 'load- ' . $ hook , 'json_oauth_admin_load ' );
50
50
}
@@ -213,7 +213,7 @@ function json_oauth_admin_edit_page() {
213
213
global $ title , $ parent_file , $ submenu_file ;
214
214
$ title = $ consumer ? __ ( 'Edit Consumer ' ) : __ ( 'Add Consumer ' );
215
215
$ parent_file = 'users.php ' ;
216
- $ submenu_file = 'json_oauth ' ;
216
+ $ submenu_file = 'json-oauth ' ;
217
217
218
218
include ( ABSPATH . 'wp-admin/admin-header.php ' );
219
219
?>
You can’t perform that action at this time.
0 commit comments