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-09-19 15:47:58 +00:00
2019-09-12 12:04:59 +00:00
2019-09-19 15:19:18 +00:00
2019-09-03 00:41:05 +00:00
2019-03-27 19:59:52 +00:00
2019-09-18 14:54:57 +00:00
2018-12-19 03:36:27 +00:00
2019-05-26 00:12:54 +00:00
2019-09-19 15:19:18 +00:00
2019-07-02 23:42:58 +00:00
2017-11-08 11:48:49 +00:00
2016-10-05 03:24:37 +00:00
2019-09-19 15:50:59 +00:00
2015-10-20 05:57:24 +00:00
2019-05-17 10:58:51 +00:00
2017-10-26 12:52:53 +00:00
2019-09-03 00:41:05 +00:00
2019-09-18 14:50:56 +00:00
2019-09-18 14:50:56 +00:00
2019-09-03 00:41:05 +00:00
2019-09-03 00:41:05 +00:00
2019-09-14 18:21:54 +00:00
2019-09-03 00:41:05 +00:00
2019-09-16 19:55:56 +00:00
2019-04-11 20:10:53 +00:00
2019-08-04 01:59:56 +00:00
2019-09-15 11:23:56 +00:00
2019-09-15 10:33:55 +00:00
2019-09-01 17:13:59 +00:00
2017-11-30 23:11:00 +00:00
2019-07-25 00:48:58 +00:00
2016-08-31 16:31:29 +00:00
2019-08-03 20:21:55 +00:00
2019-07-19 04:32:57 +00:00
2015-10-06 23:45:25 +00:00
2019-09-12 14:37:57 +00:00
2019-08-03 20:21:55 +00:00
2016-10-05 03:24:37 +00:00
2016-06-06 03:24:29 +00:00
2019-09-12 14:37:57 +00:00
2016-07-06 12:40:29 +00:00
2017-11-30 23:11:00 +00:00
2019-09-18 12:25:56 +00:00
2019-09-03 00:41:05 +00:00
2019-06-14 11:26:52 +00:00
2019-09-03 00:41:05 +00:00
2019-09-03 00:41:05 +00:00
2019-09-15 11:46:54 +00:00
2019-07-25 00:48:58 +00:00
2019-02-07 09:02:49 +00:00
2019-09-14 18:21:54 +00:00
2019-09-03 00:41:05 +00:00
2018-12-17 18:00:52 +00:00
2019-09-15 11:53:56 +00:00
2018-02-25 20:22:30 +00:00
2019-09-03 00:41:05 +00:00
2019-09-15 11:27:55 +00:00
2019-09-03 00:41:05 +00:00
2019-09-15 11:27:55 +00:00
2019-09-15 11:27:55 +00:00
2019-09-15 11:27:55 +00:00
2019-09-15 11:27:55 +00:00
2019-09-03 00:41:05 +00:00
2019-09-15 10:36:56 +00:00
2019-09-03 00:41:05 +00:00
2019-07-02 23:42:58 +00:00
2019-01-09 22:42:51 +00:00
2019-09-16 17:23:55 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2019-09-15 11:45:56 +00:00
2019-08-05 07:56:56 +00:00
2019-09-03 00:41:05 +00:00
2019-07-02 23:42:58 +00:00
2018-03-25 19:33:31 +00:00
2017-11-30 23:11:00 +00:00
2019-07-05 01:45:56 +00:00
2019-04-08 05:32:51 +00:00
2019-07-01 08:01:57 +00:00
2019-09-03 00:41:05 +00:00
2019-08-25 22:21:58 +00:00
2019-09-10 19:23:55 +00:00
2019-07-02 23:42:58 +00:00
2019-07-02 23:42:58 +00:00
2019-08-04 01:46:55 +00:00
2019-09-03 00:41:05 +00:00
2018-02-25 20:22:30 +00:00
2019-09-19 15:03:56 +00:00
2018-03-25 19:35:29 +00:00
2019-09-12 22:17:55 +00:00
2019-08-29 12:42:56 +00:00
2019-07-19 04:32:57 +00:00
2019-09-15 11:53:56 +00:00
2019-03-21 21:53:51 +00:00
2019-09-17 19:58:56 +00:00
2019-03-15 21:55:50 +00:00
2019-09-19 15:03:56 +00:00
2019-06-17 19:17:54 +00:00
2019-09-03 00:41:05 +00:00
2019-04-16 05:09:51 +00:00
2019-04-16 05:09:51 +00:00
2019-06-17 18:37:55 +00:00
2019-09-15 11:47:54 +00:00
2018-03-25 19:33:31 +00:00
2019-09-15 11:53:56 +00:00
2018-09-14 13:45:26 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2019-09-12 22:17:55 +00:00
2019-08-29 12:42:56 +00:00
2019-07-02 23:42:58 +00:00
2019-08-04 01:28:55 +00:00
2019-08-23 16:05:56 +00:00
2018-02-25 20:22:30 +00:00
2017-11-30 23:11:00 +00:00
2019-08-03 15:46:54 +00:00
2019-09-03 00:41:05 +00:00
2019-01-09 05:04:50 +00:00
2019-09-17 15:43:56 +00:00
2019-06-10 23:54:53 +00:00
2019-09-15 11:53:56 +00:00
2019-09-15 11:50:55 +00:00
2017-11-30 23:11:00 +00:00
2019-07-02 23:42:58 +00:00
2019-09-16 16:32:55 +00:00
2019-08-04 01:59:56 +00:00
2019-07-02 23:42:58 +00:00
2019-09-18 22:42:55 +00:00
2019-09-18 22:42:55 +00:00
2019-09-11 01:51:54 +00:00
2019-09-19 02:06:56 +00:00
2019-07-15 05:14:55 +00:00
2019-07-25 22:45:57 +00:00
2019-07-25 23:31:56 +00:00
2019-07-09 05:45:58 +00:00
2019-09-14 18:21:54 +00:00
2017-09-25 06:28:45 +00:00
2019-09-15 11:09:54 +00:00
2016-07-06 12:40:29 +00:00
2019-09-18 14:50:56 +00:00
2019-09-03 00:41:05 +00:00
2019-09-03 00:41:05 +00:00
2019-04-18 17:08:52 +00:00
2019-04-18 17:08:52 +00:00
2019-09-03 00:41:05 +00:00
2019-04-18 17:08:52 +00:00
2019-04-18 17:08:52 +00:00
2019-09-03 00:41:05 +00:00
2019-09-18 14:50:56 +00:00
2019-09-19 01:54:56 +00:00
2019-09-03 00:41:05 +00:00
2018-12-20 02:42:48 +00:00
2019-09-18 12:25:56 +00:00
2019-07-09 05:45:58 +00:00
2019-09-04 17:52:56 +00:00
2019-08-04 01:47:55 +00:00
2019-09-03 00:41:05 +00:00
2019-09-19 12:02:58 +00:00
2016-12-03 04:16:38 +00:00
2019-09-18 19:33:54 +00:00
2019-09-18 14:50:56 +00:00
2019-09-19 14:36:55 +00:00
2019-08-14 14:29:56 +00:00
2017-11-30 23:11:00 +00:00
2019-01-08 08:48:48 +00:00
2019-08-04 01:12:56 +00:00
2017-11-30 23:11:00 +00:00
2019-09-03 00:41:05 +00:00
2019-09-03 00:41:05 +00:00
2019-01-08 09:15:49 +00:00
2017-11-30 23:11:00 +00:00
2019-09-03 00:41:05 +00:00
2019-09-15 11:31:57 +00:00
2019-09-13 18:55:56 +00:00
2019-09-15 02:07:55 +00:00
2016-07-06 12:40:29 +00:00
2019-09-14 20:42:56 +00:00
2019-09-16 14:48:54 +00:00
2019-08-04 01:19:56 +00:00
2019-09-15 11:32:54 +00:00
2019-08-04 01:59:56 +00:00
2019-09-20 13:05:57 +00:00
2019-09-03 00:41:05 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2019-09-19 14:05:55 +00:00
2019-07-05 03:14:56 +00:00
2019-08-04 01:28:55 +00:00
2017-11-30 23:11:00 +00:00
2016-10-31 06:28:32 +00:00
2019-09-19 15:19:18 +00:00
2017-11-30 23:11:00 +00:00
2019-09-03 00:41:05 +00:00
2019-07-15 05:11:56 +00:00
2019-09-20 13:05:57 +00:00
2019-07-02 23:42:58 +00:00
2019-08-04 12:28:56 +00:00
2019-09-18 14:50:56 +00:00
2019-09-03 00:41:05 +00:00
2019-09-10 19:23:55 +00:00
2019-07-25 22:45:57 +00:00
2019-09-20 15:00:59 +00:00
2019-09-16 09:13:54 +00:00
2019-09-19 22:07:57 +00:00
2017-11-30 23:11:00 +00:00