[wp-trac] [WordPress Trac] #2679: hook add_submenu_page not working linking to edit.php

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 21 18:14:33 GMT 2006


#2679: hook add_submenu_page not working linking to edit.php
----------------------------+-----------------------------------------------
       Id:  2679            |      Status:  new                     
Component:  Administration  |    Modified:  Fri Apr 21 18:14:33 2006
 Severity:  normal          |   Milestone:  2.1                     
 Priority:  normal          |     Version:  2.1                     
    Owner:  anonymous       |    Reporter:  tassoman                
----------------------------+-----------------------------------------------
 Hi to all,
  I'm trying to edit a new version of mine plugin [http://blog.tassoman.com
 /wordpress-plugins/voda-sms Voda-sms] but i can't get it showed into
 edit.php with the following code:

 {{{
 function add_vodasms_menu() {
         add_submenu_page('edit.php', 'Plugin » Vodafone SMS',
 'Vodafone SMS' , 8 , __FILE__ , 'vodasms_sub_page');
 }

 add_action('admin_menu','add_vodasms_menu');
 }}}

 If I change edit.php with plugins.php, plugin works fine.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2679>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list