[wp-trac] [WordPress Trac] #31805: network menu page url
WordPress Trac
noreply at wordpress.org
Mon Mar 30 11:13:54 UTC 2015
#31805: network menu page url
---------------------------------------+-----------------------------
Reporter: dll1024 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version: 4.1.1
Severity: normal | Keywords:
Focuses: administration, multisite |
---------------------------------------+-----------------------------
i registered menu in network admin by:
{{{
add_action( 'network_admin_menu',...
}}}
and now i want to get url of that menu by using
{{{
menu_page_url(...
}}}
but this function will return blog admin url (invalid url) because in this
line:
[https://core.trac.wordpress.org/browser/tags/4.1.1/src/wp-
admin/includes/plugin.php#L1476]
only called ''admin_url'' function
i searched for another function, but i found nothing :|
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31805>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list