Allow top-level menu page to use a slug, rather than filename
|Reported by:||DD32||Owned by:|
This patch brings the add_menu_page() into align with the rest of the page addition functions, in that it allows the $file to be any string rather than specifically a filename.
It does look a bit hackish in a sense, But i couldnt see any other way to do it.
It certainly needs testing to check it doesnt adversly affect anything else, but it appears fine to me.
I'll also attach a version of the menu-tester plugin which works after this patch (and doesnt work before it)