Changes between Initial Version and Version 1 of Ticket #37255, comment 48
- Timestamp:
- 03/06/2023 01:29:26 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #37255, comment 48
initial v1 7 7 }}} 8 8 9 If passed an object instead of an IDwe can skip `WP_Post::get_instsance( $post_id )` which checks the cache, and makes a possible database call to grab the object. Instead, we can populate the object directly.9 If passed an object we can skip `WP_Post::get_instsance( $post_id )` which checks the cache, and makes a possible database call to grab the object. Instead, we can populate the object directly.