add_management_page oddness going from 2.6 to 2.7
-
when i hook in an admin page
add_management_page (“Podcast Channels”, ‘Podcast Channels’, 10, __FILE__, “podcast_channels_admin_page”)
in 2.6, the page is found at
wp-admin/edit.php?page=podcast-channels/podcast-channels.phpbut in 2.7 it’s at
wp-admin/import.php?page=podcast-channels/podcast-channels.phpbeta issue? or am i missing something. as i want to incorporate a form, what’s the best way to specify the action= so that it’s 2.6/2.7 independent.
(obv, i could just test the version – but is there a generic way that would work with both)
- The topic ‘add_management_page oddness going from 2.6 to 2.7’ is closed to new replies.