rearrange menu items

This commit is contained in:
John Bintz 2009-08-15 15:58:01 -04:00
parent 112c4908ad
commit baae47adcc
1 changed files with 7 additions and 8 deletions

View File

@ -199,13 +199,12 @@ class WhatDidTheySayAdmin {
} }
function admin_menu() { function admin_menu() {
add_submenu_page( add_options_page(
'edit-comments.php', __('What Did They Say?!? Settings', 'what-did-they-say'),
__('Manage Transcriptions', 'what-did-they-say'), __('What Did They Say?!?', 'what-did-they-say'),
__('Transcripts', 'what-did-they-say'), 'manage_options',
'edit_posts', 'manage-wdts',
'manage-transcriptions-wdts', array(&$this, 'manage_admin')
array(&$this, 'manage_transcriptions_admin')
); );
if (current_user_can('edit_posts')) { if (current_user_can('edit_posts')) {
@ -220,7 +219,7 @@ class WhatDidTheySayAdmin {
} }
} }
function manage_transcriptions_admin() { function manage_admin() {
$options = get_option('what-did-they-say-options'); $options = get_option('what-did-they-say-options');
$nonce = wp_create_nonce('what-did-they-say'); $nonce = wp_create_nonce('what-did-they-say');