Changes between Initial Version and Version 1 of Ticket #43256, comment 3
- Timestamp:
- 02/08/2018 02:38:14 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #43256, comment 3
initial v1 2 2 3 3 Add to this: 4 5 {{{6 $post = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $wpdb->posts WHERE ID = %d", $postid ) );7 8 if ( ! $post ) {9 return $post;10 }11 12 $post = get_post( $post );13 }}}14 4 15 5