Changes between Initial Version and Version 1 of Ticket #40286, comment 8
- Timestamp:
- 04/30/2017 09:28:41 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #40286, comment 8
initial v1 1 I though that `get_post` function will always return an WP_Post instance so `$_post->ID` will always be defined. It can be null but it's defined.1 I though that `get_post` function will always return an `WP_Post` instance so `$_post->ID` will always be defined. It can be `null` but it's defined (`$ID` is a public property of `WP_Post` class).