[wp-trac] [WordPress Trac] #28226: menu_page_url does not return correct URL on network admin
WordPress Trac
noreply at wordpress.org
Mon May 12 21:12:48 UTC 2014
#28226: menu_page_url does not return correct URL on network admin
------------------------------------------------+--------------------------
Reporter: norcross | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
Component: Menus | Review
Severity: normal | Version: 3.0
Keywords: has-patch dev-feedback 2nd-opinion | Resolution:
| Focuses: multisite
------------------------------------------------+--------------------------
Changes (by norcross):
* keywords: has-patch dev-feedback => has-patch dev-feedback 2nd-opinion
Comment:
ahh. I misread the original comment (I thought you were doing a check of
sorts for whether or not the user was an admin).
given that, do you think a separate function (something like
`network_menu_url`) would be better than adding more checks into this one?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28226#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list