Make WordPress Core

Opened 16 years ago

Closed 14 years ago

#2679 closed defect (bug) (invalid)

hook add_submenu_page not working linking to edit.php

Reported by: tassoman Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.1
Component: Administration Keywords: add_submenu_page
Focuses: Cc:


Hi to all,

I'm trying to edit a new version of mine plugin 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');


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

Attachments (1)

voda-sms.php (5.0 KB) - added by tassoman 16 years ago.
voda-sms plugin source

Download all attachments as: .zip

Change History (5)

16 years ago

voda-sms plugin source

#1 @matt
15 years ago

  • Milestone changed from 2.1 to 2.2

#2 @postalservice14
15 years ago

Appears to work for me on 2.1-alpha3

#3 @foolswisdom
15 years ago

  • Milestone changed from 2.2 to 2.4

#4 @pishmishy
14 years ago

  • Milestone 2.4 deleted
  • Resolution set to invalid
  • Status changed from new to closed

I'm able to add subpages to the edit menu successfully.
If the original reporter is still having a problem with this, I recommend asking for help on the wp-hackers mailing list.

Note: See TracTickets for help on using tickets.