[wp-trac] [WordPress Trac] #55621: Prime user meta in User REST API endpoint

WordPress Trac noreply at wordpress.org
Tue Apr 26 14:48:00 UTC 2022


#55621: Prime user meta in User REST API endpoint
--------------------------+------------------------------
 Reporter:  spacedmonkey  |       Owner:  (none)
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  REST API      |     Version:  4.7
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  performance
--------------------------+------------------------------

Comment (by spacedmonkey):

 It is worth noting that in [https://github.com/WordPress/wordpress-
 develop/blob/60cb20c4cc48b8de808cd307128dd171f05454ae/src/wp-
 admin/includes/class-wp-ms-users-list-table.php#L54
 WP_MS_Users_List_Table] and [https://github.com/WordPress/wordpress-
 develop/blob/1cb0e9ced6d924a46d153c49ccb9856120ebb7ff/src/wp-
 admin/includes/class-wp-users-list-table.php#L96-L112
 WP_MS_Users_List_Table] pass the `'fields'  => 'all_with_meta',`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55621#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list