[wp-trac] [WordPress Trac] #39776: add priority argument to add_submenu_page() function
WordPress Trac
noreply at wordpress.org
Fri Oct 9 13:28:06 UTC 2020
#39776: add priority argument to add_submenu_page() function
--------------------------------------+-----------------------------
Reporter: alexvorn2 | Owner: welcher
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.3
Component: Administration | Version: 4.7.2
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses: administration
--------------------------------------+-----------------------------
Comment (by SergeyBiryukov):
In [changeset:"49112" 49112]:
{{{
#!CommitTicketReference repository="" revision="49112"
Tests: Use consistent wording for the `$position` parameter in
`add_submenu_page()` tests.
This replaces the instances of `$priority` with `$position`, to match the
actual parameter name and avoid confusion.
Follow-up to [46197].
See #51344, #39776.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39776#comment:46>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list