[wp-trac] [WordPress Trac] #61243: Mark who=authors as deprecated in docblock
WordPress Trac
noreply at wordpress.org
Sun May 19 19:51:55 UTC 2024
#61243: Mark who=authors as deprecated in docblock
--------------------------+-----------------------
Reporter: kkmuffme | Owner: (none)
Type: defect (bug) | Status: reopened
Priority: low | Milestone: 6.6
Component: Users | Version: 5.9
Severity: trivial | Resolution:
Keywords: | Focuses: docs
--------------------------+-----------------------
Comment (by SergeyBiryukov):
In [changeset:"58172" 58172]:
{{{
#!CommitTicketReference repository="" revision="58172"
Docs: Add a note that the `who` parameter in `WP_User_Query` is
deprecated.
Any usage of `'who' => 'authors'` should be updated to use capability
queries instead.
Includes documenting the capability query parameters in
`wp_dropdown_users()`.
Follow-up to [51943].
Props kkmuffme, swissspidy, SergeyBiryukov.
See #61243.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61243#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list