#54926 closed defect (bug) (invalid)
Deprecated: WP_User_Query was called with an argument that is deprecated since version 5.9.0!
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.9 |
Component: | Users | Keywords: | has-patch |
Focuses: | Cc: |
Description
Deprecated: WP_User_Query was called with an argument that is deprecated since version 5.9.0! who is deprecated. Use capability instead. in public_html/wp-includes/functions.php on line 5600
Attachments (1)
Change History (6)
This ticket was mentioned in PR #2228 on WordPress/wordpress-develop by SonjaySarker.
23 months ago
#1
- Keywords has-patch added
#2
@
23 months ago
- Component changed from General to Users
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from new to closed
Hi there and welcome to WordPress Trac!
This is related to the new capability queries in WordPress core, see https://make.wordpress.org/core/2022/01/05/new-capability-queries-in-wordpress-5-9/
It means one of your plugins or themes is using the old/deprecated way.
You can try disabling plugins one by one to find the culprit, and then reach out to the developer to let them know about this.
If you need any help, please open a support topic in the support forums at wordpress.org/support instead.
Thank you.
swissspidy commented on PR #2228:
23 months ago
#3
Not clear to me what this PR does 🤔
But note that the Trac ticket was closed now. Please use the support forums instead.
#4
follow-up:
↓ 5
@
21 months ago
I'm also seeing this intermittently, and it looks like Gutenberg may still have several `who:author` queries. I haven't had time to dig in further, though.
#5
in reply to:
↑ 4
@
20 months ago
Replying to iandunn:
I'm also seeing this intermittently, and it looks like Gutenberg may still have several `who:author` queries. I haven't had time to dig in further, though.
This is now tracked in https://github.com/WordPress/gutenberg/issues/39986.
Trac ticket:
---
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.
https://core.trac.wordpress.org/ticket/54926