#55621 closed enhancement (duplicate)
Prime user meta in User REST API endpoint
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.7 |
Component: | REST API | Keywords: | has-patch |
Focuses: | performance | Cc: |
Description
Ensure that user meta is primed in User REST API endpoint. Without being primed, this results in a single query per user in a /wp/v2/users query. See screenshot.
Attachments (2)
Change History (13)
This ticket was mentioned in PR #2632 on WordPress/wordpress-develop by spacedmonkey.
3 years ago
#1
- Keywords has-patch added
Trac ticket: https://core.trac.wordpress.org/ticket/55621
#2
@
3 years ago
It is worth noting that in WP_MS_Users_List_Table and WP_MS_Users_List_Table pass the 'fields' => 'all_with_meta',
.
This ticket was mentioned in Slack in #hosting-community by javier. View the logs.
3 years ago
spacedmonkey commented on PR #2632:
3 years ago
#4
@peterwilsoncc I agree. I think we should maybe focus on this - https://github.com/WordPress/wordpress-develop/pull/2614
This ticket was mentioned in Slack in #hosting-community by javier. View the logs.
3 years ago
This ticket was mentioned in Slack in #hosting-community by jadonn. View the logs.
3 years ago
#7
@
3 years ago
- Milestone Awaiting Review deleted
- Resolution set to duplicate
- Status changed from new to closed
Duplicate of #55594.
Before