[wp-trac] [WordPress Trac] #39776: add priority argument to add_submenu_page() function
WordPress Trac
noreply at wordpress.org
Thu Sep 12 19:50:51 UTC 2019
#39776: add priority argument to add_submenu_page() function
-------------------------------------------------+-------------------------
Reporter: alexvorn2 | Owner: welcher
Type: enhancement | Status: assigned
Priority: normal | Milestone: 5.3
Component: Menus | Version: 4.7.2
Severity: normal | Resolution:
Keywords: has-patch dev-feedback needs- | Focuses:
testing has-unit-tests | administration
-------------------------------------------------+-------------------------
Comment (by adamsilverstein):
Nice work! This is looking really good @welcher.
For the tests, can you please add tests for **all** the touched functions
here ( eg including `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,
add_comments_page`) - that way we ensure none of these change
unintentionally and all correctly support the priority parameter.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39776#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list