Changes between Initial Version and Version 1 of Ticket #56028, comment 6
- Timestamp:
- 07/20/2022 08:59:15 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #56028, comment 6
initial v1 2 2 > What the benefit of passing the WP_User here? The WP_User is in cache here, so getting it out of cache isn't that bad for performance. What problem are we trying to solve here. 3 3 It is a tidy-up and gives us another way to call the function 4 It came out of fixing https://core.trac.wordpress.org/ticket/53634 where the fix was to change what I passed to this function Been able to pass the use it solve having to pre-select what field to use to find the user.4 It came out of fixing #53634 where the fix was to change what I passed to this function Been able to pass the use it solve having to pre-select what field to use to find the user.