Adam Silverstein
6ca808129c
Menus: add a position argument to add_submenu_page and the helper functions that use it.
...
Add a position argument to the `add_submenu_page` function similar to the one already in `add_menu_page`. When adding sub menus enables setting the position in the sub menu where the item should appear.
In addition, add the position argument to functions that call `add_submenu_page` under the hood: `add_management_page`, `add_options_page`, `add_theme_page`, `add_plugins_page`, `add_users_page`, `add_dashboard_page`, `add_posts_page`, `add_media_page`, `add_links_page`, `add_pages_page` and `add_comments_page`.
Props welcher, birgire, alexvorn2.
Fixes #39776 .
Built from https://develop.svn.wordpress.org/trunk@46197
git-svn-id: http://core.svn.wordpress.org/trunk@46009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-20 15:00:59 +00:00
..
2019-05-26 20:50:53 +00:00
2019-05-26 20:50:53 +00:00
2019-09-19 01:26:55 +00:00
2019-09-03 00:41:05 +00:00
2019-09-15 10:42:54 +00:00
2019-09-03 00:41:05 +00:00
2019-09-03 00:41:05 +00:00
2019-09-15 10:42:54 +00:00
2019-09-03 00:41:05 +00:00
2019-09-10 19:23:55 +00:00
2019-09-03 00:41:05 +00:00
2019-07-01 12:52:01 +00:00
2019-03-17 01:20:49 +00:00
2019-03-17 01:20:49 +00:00
2019-08-03 20:21:55 +00:00
2019-09-03 00:41:05 +00:00
2019-09-03 00:41:05 +00:00
2019-09-13 22:21:01 +00:00
2019-09-03 00:41:05 +00:00
2019-09-06 06:26:56 +00:00
2019-09-03 00:41:05 +00:00
2019-09-03 00:41:05 +00:00
2019-09-03 00:41:05 +00:00
2019-09-03 00:41:05 +00:00
2019-09-10 19:23:55 +00:00
2019-09-03 00:41:05 +00:00
2019-09-03 00:41:05 +00:00
2019-09-15 10:42:54 +00:00
2019-09-03 00:41:05 +00:00
2019-09-08 23:53:55 +00:00
2019-09-03 00:41:05 +00:00
2019-09-03 00:41:05 +00:00
2019-09-03 00:41:05 +00:00
2019-07-09 15:58:57 +00:00
2019-09-03 00:41:05 +00:00
2019-09-03 00:41:05 +00:00
2019-09-03 00:41:05 +00:00
2019-08-03 20:21:55 +00:00
2019-03-04 20:47:50 +00:00
2019-09-03 00:41:05 +00:00
2019-09-15 11:53:56 +00:00
2019-09-03 00:41:05 +00:00
2019-09-16 23:34:55 +00:00
2019-09-03 00:41:05 +00:00
2019-09-03 00:41:05 +00:00
2019-09-03 00:41:05 +00:00
2019-09-03 00:41:05 +00:00
2018-08-17 01:51:36 +00:00
2019-09-03 00:41:05 +00:00
2019-06-04 23:40:55 +00:00
2019-06-08 00:30:51 +00:00
2019-09-03 00:41:05 +00:00
2019-09-03 00:41:05 +00:00
2019-09-03 00:41:05 +00:00
2019-09-03 00:41:05 +00:00
2019-09-03 00:41:05 +00:00
2019-03-01 20:58:52 +00:00
2019-09-03 00:41:05 +00:00
2019-09-03 00:41:05 +00:00
2019-09-03 00:41:05 +00:00
2019-09-15 10:42:54 +00:00
2019-09-03 00:41:05 +00:00
2019-09-03 00:41:05 +00:00
2019-07-01 12:52:01 +00:00
2019-09-15 11:11:56 +00:00
2019-09-03 00:41:05 +00:00
2019-07-01 12:52:01 +00:00
2019-08-04 12:28:56 +00:00
2019-09-19 01:26:55 +00:00
2019-09-03 00:41:05 +00:00
2019-09-07 01:07:55 +00:00
2019-03-01 20:58:52 +00:00
2019-05-27 02:40:53 +00:00
2019-09-19 01:26:55 +00:00
2019-07-01 12:52:01 +00:00
2019-09-09 00:07:57 +00:00
2019-09-03 00:41:05 +00:00
2019-09-03 00:41:05 +00:00
2019-09-03 00:41:05 +00:00
2019-09-03 00:41:05 +00:00
2019-09-03 00:41:05 +00:00
2019-07-25 22:45:57 +00:00
2019-09-03 00:41:05 +00:00
2019-09-20 15:00:59 +00:00
2019-09-11 14:52:56 +00:00
2019-09-03 00:41:05 +00:00
2019-09-03 00:41:05 +00:00
2019-09-19 22:07:57 +00:00
2019-08-04 02:03:55 +00:00
2019-07-01 12:52:01 +00:00
2019-09-15 11:35:56 +00:00
2019-07-01 12:52:01 +00:00
2019-09-03 00:41:05 +00:00
2019-09-03 00:41:05 +00:00
2019-09-18 17:41:55 +00:00
2019-09-19 14:30:56 +00:00
2019-09-19 22:07:57 +00:00
2019-09-03 00:41:05 +00:00
2019-09-15 11:41:55 +00:00