Opened 8 years ago
Last modified 6 years ago
#37219 new enhancement
Admin menu with admin_url function
Reported by: | sebastian.pisula | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | has-patch |
Focuses: | Cc: |
Description
I think that options in menu should have admin_url function. For example I want add custom param (?lang=de). I can use admin_url filter but this not work in menu items
Attachments (2)
Change History (10)
This ticket was mentioned in Slack in #core by sebastian.pisula. View the logs.
8 years ago
#2
@
8 years ago
- Component changed from Menus to Administration
- Milestone changed from Awaiting Review to 4.7
#4
@
8 years ago
@helen How do you think this fits in with the larger admin menu changes? Think this is something we can commit to now?
This ticket was mentioned in Slack in #core by aaroncampbell. View the logs.
8 years ago
#6
@
8 years ago
We push the use of full URL links pretty much everywhere. Seems odd that we don't use them here. Having said that, my main concern is what can $submenu_items[0][2]
, $item[2]
, $sub_item_url
, and $sub_item[2]
contain? If they can have absolute URLs already, then it seems like this would cause some unexpected explosions, wouldn't it?
4.7-alpha-38345