Trigger a notice (via `_doing_it_wrong()`) for developers incorrectly setting the position when calling `add_menu_page()`. Modify a similar message in `add_submenu_page()` to combine near identical strings and match the error description to the conditions in which it is called. Follow up to [52569], [53104]. Fixes #40927. Built from https://develop.svn.wordpress.org/trunk@53264 git-svn-id: http://core.svn.wordpress.org/trunk@52853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
88 KiB
88 KiB